From wdunlap at tibco.com  Fri Jun 16 20:20:49 2017
From: wdunlap at tibco.com (William Dunlap)
Date: Fri, 16 Jun 2017 11:20:49 -0700
Subject: [Rd] =?utf-8?q?R_history=3A_Why_=27L=3B_in_suffix_character_?=
	=?utf-8?b?4oCYTOKAmSBmb3IgaW50ZWdlciBjb25zdGFudHM/?=
In-Reply-To: <CANROs4dp_GKt0GMSX50R0h9TY7X=d87v_5pX6Tb0vg8_KmnmFQ@mail.gmail.com>
References: <CAFDcVCRohsOKwzd2-8eFhD0zmR8vm-+t_5X=6FWjmL7uH5vzXA@mail.gmail.com>
 <5126a9af-49ac-8bd8-1ccc-03f5e13e2263@insa-toulouse.fr>
 <CANROs4dp_GKt0GMSX50R0h9TY7X=d87v_5pX6Tb0vg8_KmnmFQ@mail.gmail.com>
Message-ID: <CAF8bMca+f_rV4qGBGNb68Atbm+Mr3t9Bv9EAPTLksBrRUyWcqg@mail.gmail.com>

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
ints.)

Bill Dunlap
TIBCO Software
wdunlap tibco.com

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).
>
> Regards,
> Yihui
> --
> https://yihui.name
>
>
> On Fri, Jun 16, 2017 at 11:00 AM, Serguei Sokol <sokol at insa-toulouse.fr>
> wrote:
> > 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
> https://stat.ethz.ch/mailman/listinfo/r-devel

	[[alternative HTML version deleted]]



[Rd] =?utf-8?q?R_history=3A_Why_=27L=3B_in_suffix_character_?= =?utf-8?b?4oCYTOKAmSBmb3IgaW50ZWdlciBjb25zdGFudHM/?=
William Dunlap