Skip to content

Where are usages like "== 2L" documented?

3 messages · Bryan Hanson, David Winsemius, Duncan Murdoch

#
Gurus:

I keep seeing other people?s code that contain ideas like

If (x == 2L)
X[-1L]
X - 1L

I have some idea of what?s going on, but where is the use of concepts like
?2L? documented?

Thanks, Bryan
*************
Bryan Hanson
Acting Chair
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA
#
On Nov 16, 2009, at 6:22 PM, Bryan Hanson wrote:

            
Not sure where exactly, and it would depend on where you learned R.  
The integer data type information and notation should have been found  
among the material where you learned about "numeric", "character",  
"logical", .... that sort of basic notion.
#
Bryan Hanson wrote:
In the R Language Definition manual.  In this case, look in section 
3.1.1, "Constants".

Duncan Murdoch