Thanks for your reply! You may be correct, but the documentation of
"source" reads as whether the opposite is the case regarding the use of
TRUE and FALSE, doesn't it?
Your interpretation may be correct (it would be also in line with my
inutive interpretation of the combination of the word loc
Hello,
If argument 'local' is FALSE, 'source' function is evaluating the file in
global environment
and object 'a' is not in global environment.
Function's environment is just local. And environment() in a function returns
the function's environment.
test <- function () source("test.R", local
2 matches
Mail list logo