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:
>
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