[Rd] data types / numerative system

Duncan Murdoch murdoch at stats.uwo.ca
Wed Jan 16 16:41:39 CET 2008

On 1/16/2008 10:30 AM, AlexanderP at gmx.at wrote:
> hello all,
> well it is a general question, surely this is written somewhere but I cannot find it.
> where is the full list of 'shortcuts' for numerative systems?
> (so 0x123 : hex, 123L : dec(?... or is it for a... long datatype?))
> are there in R 'shortcuts' for data types?

You want to look in the section on "Constants" of the R Language 
References (Section 3.1.1 in the PDF version in 2.6.1).

In summary:  the 0x prefix indicates hex, the L suffix indicates the 
integer type.

Duncan Murdoch

More information about the R-devel mailing list