It means that R does have the lazy copy mechanism, which I didn't know, and I think it can be very useful to make R running more quickly.
On Tue, Dec 15, 2009 at 12:15 PM, Peng Yu <pengyu...@gmail.com> wrote: >> a=1:10 >> b=a >> a=1:10 >> tracemem(a)# I assume the following is address 'a' points to > [1] "<0x05cf2798>" >> b=a >> b[1]=1 > tracemem[0x05cf2798 -> 0x05cf2750]: > tracemem[0x05cf2750 -> 0x05ed8ba0]: > > I don't understand what these addresses mean. Would you please help me > understand it? ______________________________________________ R-help@r-project.org 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.