Re: [R] assignment by value or reference

2011-03-08 Thread Matt Shotwell
On 03/08/2011 07:20 AM, Xiaobo Gu wrote: > On Wed, Sep 15, 2010 at 5:05 PM, Uwe Ligges > wrote: >> See the R Language Definition manual. Since R knows about lazy evaluation, >> it is sometimes neither by reference nor by value. >> If you want to think binary, then "by value" fits better than "by

Re: [R] assignment by value or reference

2011-03-08 Thread Xiaobo Gu
On Wed, Sep 15, 2010 at 5:05 PM, Uwe Ligges wrote: > See the R Language Definition manual. Since R knows about lazy evaluation, > it is sometimes neither by reference nor by value. > If you want to think binary, then "by value" fits better than "by > reference". Hi, Can we think it's eventually by

Re: [R] assignment by value or reference

2011-03-08 Thread Xiaobo Gu
On Wed, Sep 15, 2010 at 5:05 PM, Uwe Ligges wrote: > See the R Language Definition manual. Since R knows about lazy evaluation, > it is sometimes neither by reference nor by value. > If you want to think binary, then "by value" fits better than "by > reference". Hi, Can we think it's eventually by

Re: [R] assignment by value or reference

2010-09-15 Thread Xiaobo Gu
Thanks. Xiaobo.Gu >>-Original Message- >>From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] >>Sent: Wednesday, September 15, 2010 5:06 PM >>To: Xiaobo Gu >>Cc: r-help@r-project.org; '顾小波' >>Subject: Re: [R] assignment by value o

Re: [R] assignment by value or reference

2010-09-15 Thread Uwe Ligges
See the R Language Definition manual. Since R knows about lazy evaluation, it is sometimes neither by reference nor by value. If you want to think binary, then "by value" fits better than "by reference". Uwe Ligges On 05.09.2010 17:19, Xiaobo Gu wrote: Hi Team, Can you please tel

[R] assignment by value or reference

2010-09-05 Thread Xiaobo Gu
Hi Team, Can you please tell me the rules of assignment in R, by value or by reference. >From my about 3 months of experience of part time job of R, it seems most >times it is by value, especially in function parameter and return values >assignment; and it is by reference when referen