Thanks very much.
By the way, I tried setting a GDB breakpoint at duplicate1(), with the
following:
> x <- 1:1000
> x[3] <- 8
> x[33] <- 88
I found that duplicate1() was called on both of the latter two lines.
I was a bit surprised, since change-on-write would seem to imply that
copyin
On 04/04/2010 05:27 PM, Norm Matloff wrote:
> Thanks very much.
>
> By the way, I tried setting a GDB breakpoint at duplicate1(), with the
> following:
>
> > x <- 1:1000
> > x[3] <- 8
> > x[33] <- 88
Here's how I investigated this, with the last line somewhat surprising
R -d gdb
g