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.
.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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With