powered by
Utility function to get the environment of a package on the search path.
pkg2env(pkg)pkg2env_(pkg)
pkg2env_(pkg)
A package.
the environment corresponding to pkg.
pkg
list2env
# NOT RUN { # Non-standard evaluation version pkg2env(graphics) # Standard evaluations versions pkg2env_("tools") pkg2env_(~ utils) pkg2env_(quote(stats)) # }
Run the code above in your browser using DataLab