[Rd] data types / numerative system
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Jan 16 16:46:21 CET 2008
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
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
More information about the R-devel