[R] eval using a environment X but resultsin .GlobalEnv
Saptarshi Guha
saptarshi.guha at gmail.com
Mon Jan 5 07:52:36 CET 2009
Hello,
Suppose I have an expression, E, which accesses some variables present
in an environment V.
I do this via
eval(E,envir=V)
however all assignments end up in V. I would like the results of
assignments in E to end up in the .GlobalEnv ? Or at least the calling
environment.
Is there a quick way to this instead of iterating over all objects E
and assigning into .GlobalEnv?
Thank you
Saptarshi
--
Saptarshi Guha - saptarshi.guha at gmail.com
More information about the R-help
mailing list