1% File src/library/utils/man/REMOVE.Rd
2% Part of the R package, https://www.R-project.org
3% Copyright 1995-2014 R Core Team
4% Distributed under GPL 2 or later
5
6\name{REMOVE}
7\alias{REMOVE}
8\title{Remove Add-on Packages}
9\description{Utility for removing add-on packages.}
10\usage{
11\special{R CMD REMOVE [options] [-l lib] pkgs}
12}
13\arguments{
14  \item{pkgs}{a space-separated list with the names of the packages to
15    be removed.}
16  \item{lib}{the path name of the \R library tree to remove from.  May
17    be absolute or relative.  Also accepted in the form \samp{--library=lib}.}
18  \item{options}{further options for help or version.}
19}
20\details{
21  If used as \command{R CMD REMOVE pkgs} without explicitly specifying
22  \code{lib}, packages are removed from the library tree rooted at the
23  first directory in the library path which would be used by \R run in
24  the current environment.
25
26  To remove from the library tree \code{\var{lib}} instead of the default
27  one, use \command{R CMD REMOVE -l lib \var{pkgs}}.
28
29  Use \command{R CMD REMOVE --help} for more usage information.
30}
31#ifdef unix
32\note{
33  Some binary distributions of \R have \code{REMOVE} in a separate
34  bundle, e.g.\sspace{}an \code{R-devel} RPM.
35}
36#endif
37\seealso{
38  \code{\link{INSTALL}}, \code{\link{remove.packages}}
39}
40\keyword{utilities}
41