On Mon, 5 Jan 2009, Prof Brian Ripley wrote:
Turn off "keep.source": you will see that is foo that is changed by the call.
Something is either not setting or handling the NAMED field and so not
duplicating: it looks like the pairlist code for $<- is the culprit.
Yes, so try a current R-deve
Turn off "keep.source": you will see that is foo that is changed by the
call.
Something is either not setting or handling the NAMED field and so not
duplicating: it looks like the pairlist code for $<- is the culprit.
On Mon, 5 Jan 2009, Felix Andrews wrote:
Hi list(...),
I've narrowed do
Hi list(...),
I've narrowed down a weird bug. It's like a ghost in the machine, in
that functions seem to remember things that they should not be able
to. In the example below, the result of the second (and subseqent)
calls depend on what was given in the first call.
foo <- function(given = NULL)