Skip to content
Prev 296212 / 398506 Next

Repost: Expressions returned by GlobalEnv functions and package functions

Hello Saptarshi,

  If two functions behave differently even though their definitions
are identical, then it is because they refer to variables that were in
scope when the functions were defined (i.e. lexical scoping). To
prevent such differences, either define both functions in the same
scope or have them read only arguments and local variables (i.e. pass
all needed input variables as arguments).

     Take care
     Oliver

On Thu, May 31, 2012 at 5:25 PM, Saptarshi Guha
<saptarshi.guha at gmail.com> wrote: