Displaying 1 result from an estimated 1 matches for "287055".
Did you mean:
28705
2004 Oct 08
3
provide extra variables to environment in call
Hi all,
Situation:
there is a function `f' already defined by someone and
provided in package. `f' looks like that:
f <- function() {
x+1
}
i.e. `f' is not closed i.r.t. term `x'
now I have my own function `g', where I'd like
to override variable `x' while calling `f':
x <- "dummy gloabal value"
g <- function() {
x