Description Usage Arguments Details Value See Also
A wrapper function to detach that removes a package
from the search path, but takes a package name as input similar to library.
1 | unlibrary(package)
|
package |
A package name, which may be specified with or without quotes. |
Unloads a package. This is just a wrapper for the detach
function. However, the package argument is just the name of the
package (rather than the longer string that is required by the detach
function), and – like the library function – can be specified
without quote marks. The unlibrary function does not unload dependencies,
only the named package.
The name "unlibrary" is a bit of an abuse of both R terminology (in which
one has a library of packages) and the English language, but I think it
helps convey that the goal of the unlibrary function is to do the
opposite of what the library function does.
Identical to detach.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.