The formal list for subset.data.frame accepts a "..."
> args(subset.data.frame)
function (x, subset, select, drop = FALSE, ...)
NULL
But it appears that subset.data.frame does not actually use the "..." or
pass it along:
> "..." %in% all.names(body(subset.data.frame))
[1] FALSE
Is there any rea
Thanks, Peter. Now I get it.
It _was_ obvious!
-- Bert
On Sat, Jul 6, 2013 at 10:22 PM, Peter Meilstrup
wrote:
> The R interpreter does what it does at run time. The ambiguity is in
> reasoning at any time _other than run time_ which environment the returned
> value of 'x' is taken from.
>
> Th
Peter:
(Your function doesn't work -- you need to specify runif(1))
What ambiguity?
In the assignment within f(), x <- x+1,
the "x" on the rhs is a free variable in the function, and is
therefore looked for in the environment where the function was
defined. The x on the lhs is defined within th