Utility function to get the environment of a package on the search path.
pkg2env(pkg)
A package.
the environment corresponding to pkg.
pkg
list2env
# NOT RUN { pkg2env(graphics) # }
Run the code above in your browser using DataLab