Finding the top level
environment from an environment
envir and its enclosing environments.
return this environment, if it matches before
any other criterion is satisfied. The default, the option
topLevelEnvironment, is set by
topenv returns the first top level
found when searching
envir and its enclosing environments. An
environment is considered top level if it is the internal environment
of a namespace, a package environment in the
loadNamespace for more on namespaces.
1 2 3 4