[Rd] R history: Why 'L; in suffix character ‘L’ for integer constants?
wdunlap at tibco.com
Fri Jun 16 20:20:49 CEST 2017
But R "integers" are C "ints", as opposed to S "integers", which are C
"long ints". (I suppose R never had to run on ancient hardware with 16 bit
On Fri, Jun 16, 2017 at 10:47 AM, Yihui Xie <xie at yihui.name> wrote:
> Yeah, that was what I heard from our instructor when I was a graduate
> student: L stands for Long (integer).
> On Fri, Jun 16, 2017 at 11:00 AM, Serguei Sokol <sokol at insa-toulouse.fr>
> > Le 16/06/2017 à 17:54, Henrik Bengtsson a écrit :
> >> I'm just curious (no complaints), what was the reason for choosing the
> >> letter 'L' as a suffix for integer constants? Does it stand for
> >> something (literal?), is it because it visually stands out, ..., or no
> >> specific reason at all?
> > My guess is that it is inherited form C "long integer" type (contrary to
> > "short integer" or simply "integer")
> > https://en.wikipedia.org/wiki/C_data_types
> R-devel at r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-devel