getEnvironment {svMisc} | R Documentation |
Given a position in the search path, the corresponding environment is returned.
getEnvironment(pos)
pos |
The position in the search path. If pos = -1 , then the parent
environment is returned. |
An environment.
Philippe Grosjean <phgrosjean@sciviews.org>
getEnvironment(1) getEnvironment(length(search())) # base environment