Displaying 1 result from an estimated 1 matches for "resultsin".
Did you mean:
resultsi
2009 Jan 05
2
eval using a environment X but resultsin .GlobalEnv
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