On Mon, Nov 16, 2009 at 7:25 PM, Duncan Murdoch <[email protected]> wrote: > On 16/11/2009 6:47 PM, Steven McKinney wrote: >> >> ?NumericConstants >> >> will bring up a help page that mentions >> "All other numeric constants start with a digit or period and are either a >> decimal or hexadecimal constant optionally followed by L." >> >> and >> >> "An numeric constant immediately followed by L is regarded as an integer >> number when possible (and with a warning if it contains a "."). " >> >> but I haven't found discussion of it anywhere else in the help pages. >> Others may know what other help pages discuss this. >> >> I'm surprised that the help page invoked from >> ?integer >> does not discuss this. Anyone know why not? > > This is part of the syntax of the language. It has nothing to do with the > integer() function, which is what ?integer is asking about.
It might be useful to have a SeeAlso to NumericConstants on that help page for those who looked up ?integer thinking it might be about integer constants. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

