remove.packages {utils} | R Documentation |
Removes installed packages/bundles and updates index information as necessary.
remove.packages(pkgs, lib)
pkgs |
a character vector with the names of the package(s) or bundle(s) to be removed. |
lib |
a character vector giving the library directories to remove the
packages from. If missing, defaults to the first element in
|
If an element of pkgs
matches a bundle name, all the packages
in the bundle will be removed. This takes precedence over matching a
package name.
REMOVE
for a command line version;
install.packages
for installing packages.