Skip to content

unloading loaded packages

2 messages · Jim Bouldin, James W. MacDonald

#
I can't seem to find info on how to unload packages that have been loaded.
 My goal in doing so is to gain access to functions that have been masked
out by those packages.  Or is there another way to do so?  Thanks in advance.



Jim Bouldin, PhD
Research Ecologist
Department of Plant Sciences, UC Davis
Davis CA, 95616
530-554-1740
#
See the seventh example under ?library.

If the masked package has a namespace you can access functions via the 
'::' operator. Say the function foo in package bar was masked by package 
baz, and bar has a namespace. You can access foo thusly:

bar::foo()

Best,

Jim
Jim Bouldin wrote: