What is the difference? I read Hadley but this is not clear to me.
Furthermore, should I call it as envir=...
or env=...
? It seems it doesn't make a difference.
For examples see here and here.
Asked
Active
Viewed 1,081 times
1 Answers
5
.GlobalEnv
is a symbol to which the global environment is bound. globalenv
is a function which returns the global environment. In practice, you can use both, although the former is faster by some nano-seconds.
Regarding your second question, study the language definition regarding argument matching, in particular, partial name matching.

Roland
- 127,288
- 10
- 191
- 288