-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathuninstall.packages.Rd
More file actions
37 lines (34 loc) · 1.03 KB
/
Copy pathuninstall.packages.Rd
File metadata and controls
37 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install.R
\name{uninstall.packages}
\alias{uninstall.packages}
\title{uninstalls (removes) Installed Packages}
\usage{
uninstall.packages(pkgs, lib, warning = TRUE, ...)
}
\arguments{
\item{pkgs}{a character vector with the names of the packages to be removed.}
\item{lib}{a character vector giving the library directories to remove the packages from.
If missing, defaults to the first element in \link{.libPaths}.}
\item{warning}{boolean (TRUE), should a message be printed in various cases.}
\item{...}{currently ignored.}
}
\value{
Invisible NULL
}
\description{
A wrapper for \link{remove.packages}. Usefull since it also works if the
package is currently loaded into the workspace.
}
\examples{
\dontrun{
install.packages(c("reshape", "plyr"))
require(plyr)
uninstall.packages(c("reshape", "plyr"))
install.packages(c("reshape", "plyr"))
}
}
\seealso{
\code{\link{install.packages}}, \code{\link{remove.packages}},
\code{\link[installr]{install.packages.zip}}
}