pkg2env {sig} | R Documentation |
Get environment of a package.
Description
Utility function to get the environment of a package on the search path.
Usage
pkg2env(pkg)
pkg2env_(pkg)
Arguments
pkg |
A package. |
Value
the environment corresponding to pkg
.
See Also
Examples
# Non-standard evaluation version
pkg2env(graphics)
# Standard evaluations versions
pkg2env_("tools")
pkg2env_(~ utils)
pkg2env_(quote(stats))
[Package sig version 0.0-6 Index]