Re: [Rd] Bug in list indexing (PR#13411)

2008-12-22 Thread Duncan Murdoch
On 12/22/2008 1:55 PM, murd...@stats.uwo.ca wrote: I was wondering if copies were made when a component of a complex nested list structure was extracted but not modified. I was happy that the answer was no, but was surprised that copies weren't made even if the extracted bit was modified: >

[Rd] Bug in list indexing (PR#13411)

2008-12-22 Thread murdoch
I was wondering if copies were made when a component of a complex nested list structure was extracted but not modified. I was happy that the answer was no, but was surprised that copies weren't made even if the extracted bit was modified: > x <- list(a=list(b=numeric(100))) > y <- x[[c(1