From ripley at stats.ox.ac.uk  Wed Jan 16 16:46:21 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 16 Jan 2008 15:46:21 +0000 (GMT)
Subject: [Rd] data types / numerative system
In-Reply-To: <478E25B3.2040701@stats.uwo.ca>
References: <20080116153018.125600@gmx.net> <478E25B3.2040701@stats.uwo.ca>
Message-ID: <Pine.LNX.4.64.0801161545260.30431@gannet.stats.ox.ac.uk>

On Wed, 16 Jan 2008, Duncan Murdoch wrote:

> 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).

Or ?NumericConstants, linked from ?Syntax.  (The online help tends to be 
more up-to-date then that _draft_ reference manual.)

>
> In summary:  the 0x prefix indicates hex, the L suffix indicates the
> integer type.
>
> Duncan Murdoch
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] data types / numerative system
Prof Brian Ripley