\HeaderA{REMOVE}{Remove Add-on Packages}{REMOVE}
\keyword{utilities}{REMOVE}
\begin{Description}\relax
Utility for removing add-on packages.
\end{Description}
\begin{Usage}
\begin{verbatim}
R CMD REMOVE [options] [-l lib] pkgs
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkgs}] a list with the names of the packages to be removed.
\item[\code{lib}] the path name of the \R{} library tree to remove from.  May
be absolute or relative.
\item[\code{options}] further options.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If used as \code{R CMD REMOVE pkgs} without explicitly specifying
\code{lib}, packages are removed from the library tree rooted at the
first directory given in the environment variable \env{R\_LIBS} if
this is set and non-null, and to the default library tree (which is
rooted at \file{\$R\_HOME/library}) otherwise.

To remove from the library tree \code{lib}, use
\code{R CMD REMOVE -l lib pkgs}.

Use \code{R CMD REMOVE --help} for more usage information.
\end{Details}
\begin{Note}\relax
Some binary distributions of \R{} have \code{INSTALL} in a separate
bundle, e.g. an \code{R-devel} RPM.
\end{Note}
\begin{SeeAlso}\relax
\code{\LinkA{INSTALL}{INSTALL}}, \code{\LinkA{remove.packages}{remove.packages}}
\end{SeeAlso}

