[prev in list] [next in list] [prev in thread] [next in thread]
List: bioc-devel
Subject: Re: [Bioc-devel] Sweave and integers specified as 0x...
From: "Crispin Miller" <CMiller () picr ! man ! ac ! uk>
Date: 2008-05-28 14:10:28
Message-ID: C4632664.728A%CMiller () PICR ! man ! ac ! uk
[Download RAW message or body]
Brilliant! Works perfectly - many thanks!
Crispin
On 28/5/08 15:01, "Joern Toedling" <toedling@ebi.ac.uk> wrote:
> Hello,
> you could use the Sweave option keep.source=TRUE for that code chunk,
> which would probably preserve the hex notation.
> Regards,
> Joern
>
> Crispin Miller wrote:
>> Hi,
>> I have a slight, I think, Sweave issue I'm hoping someone can help me
>> with...
>>
>>
>> I have a function that takes an integer as a parameter, that I want to
>> specify in hex using 0x...
>>
>> e.g. 0xAABBCC
>>
>> I'm finding that this is being translated back into a 'normal' integer (e.g.
>> 11189196) in the finished document so that, for example, if I was to write
>> the following:
>>
>> <<echo=TRUE>>=
>> my.fun(0xAABBCC)
>> @
>>
>> It appears in my assembled .pdf file as:
>>
>>> my.fun(11189196)
>>
>> Any ideas would be much appreciated -- I know I could specify it as a
>> string, but I'd like to avoid that if possible...
>>
>>
>> Crispin
>> --------------------------------------------------------
>>
>
> _______________________________________________
> Bioc-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
--------------------------------------------------------
This email is confidential and intended solely for the u...{{dropped:12}}
_______________________________________________
Bioc-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic