On 02/24/2011 05:14 PM, Hadley Wickham wrote:
Note however that I've never seen evidence for a *practical*
difference in simple cases, and also of such cases as part of a
larger computation.
But I'm happy to see one if anyone has an interesting example.
E.g., I would typically never use 0L:100L
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Maechler
> Sent: Thursday, February 24, 2011 7:45 AM
> To: Claudia Beleites
> Cc: r-help@r-project.org
> Subject: Re: [R] The L Word
>
> >
> "MM" == Martin Maechler
> on Thu, 24 Feb 2011 18:34:36 +0100 writes:
> "HW" == Hadley Wickham
> on Thu, 24 Feb 2011 10:14:35 -0600 writes:
>>> Note however that I've never seen evidence for a *practical*
>>> difference in simple cases, and also of such cases as
> "HW" == Hadley Wickham
> on Thu, 24 Feb 2011 10:14:35 -0600 writes:
>> Note however that I've never seen evidence for a *practical*
>> difference in simple cases, and also of such cases as part of a
>> larger computation.
>> But I'm happy to see one if anyone has an
> Note however that I've never seen evidence for a *practical*
> difference in simple cases, and also of such cases as part of a
> larger computation.
> But I'm happy to see one if anyone has an interesting example.
>
> E.g., I would typically never use 0L:100L instead of 0:100
> in an R script b
> "CB" == Claudia Beleites
> on Thu, 24 Feb 2011 12:31:55 +0100 writes:
CB> On 02/24/2011 11:20 AM, Prof Brian Ripley wrote:
>> On Thu, 24 Feb 2011, Tal Galili wrote:
>>
>>> Thank you all for the answers.
>>>
>>> So if I may extend on the question -
>>> W
This came up at least once before, with regard to where it is
documented:
http://r.789695.n4.nabble.com/Where-are-usages-like-quot-2L-quot-documented-tt831061.html
I haven't looked around much to see if the documentation has changed,
but in a quick look at ?integer I don't see the concept me
On 02/24/2011 11:20 AM, Prof Brian Ripley wrote:
On Thu, 24 Feb 2011, Tal Galili wrote:
Thank you all for the answers.
So if I may extend on the question -
When is it important to use 'Literal integer'?
Under what situations could not using it cause problems?
Is it a matter of efficiency or pr
On Thu, 24 Feb 2011, Tal Galili wrote:
Thank you all for the answers.
So if I may extend on the question -
When is it important to use 'Literal integer'?
Under what situations could not using it cause problems?
Is it a matter of efficiency or precision or both?
Efficiency: it avoids unnecessa
Thank you all for the answers.
So if I may extend on the question -
When is it important to use 'Literal integer'?
Under what situations could not using it cause problems?
Is it a matter of efficiency or precision or both?
Thanks,
Tal
Contact
Details:--
Thank you everyone, that makes a lot more sense now. It's not at all what I
would have guessed! (I thought that it might have to do with scope)
It's one of those little things would add just enough confusion that I would
sort of "tune out" whenever I saw it. So, I really appreciate having this
li
The notation '1L' mean to interprete the data as an 'integer'.
> str(1)
num 1
> str(1L)
int 1
>
> str(0xaa)
num 170
> str(0xaaL)
int 170
On Wed, Feb 23, 2011 at 11:08 AM, Gene Leynes wrote:
> I've been wondering what L means in the R computing context, and was
> wondering if someone could
Hi Gene,
It means 'Literal integer'.
So 1L is a proper integer 1, and 0L is a proper integer 0.
Hope it helps,
Tsjerk
On Wed, Feb 23, 2011 at 5:08 PM, Gene Leynes wrote:
> I've been wondering what L means in the R computing context, and was
> wondering if someone could point me to a reference
On 02/23/2011 05:08 PM, Gene Leynes wrote:
I've been wondering what L means in the R computing context, and was
wondering if someone could point me to a reference where I could read about
it, or tell me what it's called so that I can search for it myself. (L by
itself is a little too general for
Gene, it's described in ?NumericConstants
HTH, Erik
Gene Leynes wrote:
I've been wondering what L means in the R computing context, and was
wondering if someone could point me to a reference where I could read about
it, or tell me what it's called so that I can search for it myself. (L by
itse
I've been wondering what L means in the R computing context, and was
wondering if someone could point me to a reference where I could read about
it, or tell me what it's called so that I can search for it myself. (L by
itself is a little too general for a search term).
I encounter it in strange p
16 matches
Mail list logo