Skip to content

"1L" and "0L"

3 messages · Christofer Bogaso, Gavin Simpson, Duncan Murdoch

#
On Thu, 2009-05-28 at 12:50 +0530, bogaso.christofer wrote:
[1] "double"
[1] "integer"

So the L notation ensures that the number is stored as an integer not a
double.

HTH

G
#
On 28/05/2009 3:20 AM, bogaso.christofer wrote:
Gavin explained the L marks the number as being stored as an integer. 
The i in 1i is somewhat similar: it marks the number as complex (but 
also changes the value, 1i is the imaginary value, not the real one). 
There's a discussion on this in section 3.1.1 "Constants" in the R 
Language Definition.

Duncan Murdoch