The R Project SVN R

Rev

Rev 27625 | Rev 42333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27625 Rev 32101
Line 1... Line 1...
1
\name{remove.packages}
1
\name{remove.packages}
2
\alias{remove.packages}
2
\alias{remove.packages}
3
\title{Remove Installed Packages}
3
\title{Remove Installed Packages}
4
\description{
4
\description{
5
  Removes installed packages and updates index information as necessary.
5
  Removes installed packages/bundles and updates index information
-
 
6
  as necessary.
6
}
7
}
7
\usage{
8
\usage{
8
remove.packages(pkgs, lib, version)
9
remove.packages(pkgs, lib, version)
9
}
10
}
10
\arguments{
11
\arguments{
11
  \item{pkgs}{a character vector with the names of the packages to be
12
  \item{pkgs}{a character vector with the names of the package(s) or
12
    removed.}
13
    bundle(s) to be removed.}
13
  \item{lib}{a character string giving the library directory to move the
14
  \item{lib}{a character vector giving the library directories to remove the
-
 
15
    packages from.  If missing, defaults to the first element in
14
    packages from.}
16
    \code{\link{.libPaths}()}.}
15
  \item{version}{A character string specifying a version of the
17
  \item{version}{A character vector specifying version(s) with versioned
16
    package to remove.  If none is provided, the system will remove an
18
    installs of the package(s) to remove.  If none is provided,
17
    unversioned install of the package.}
19
    the system will remove an unversioned install of the package if one
-
 
20
    is found, otherwise the latest versioned install.}
-
 
21
}
-
 
22
\details{
-
 
23
  If an element of \code{pkgs} matches a bundle name, all the packages
-
 
24
  in the bundle will be removed.  This takes precedence over matching a
-
 
25
  package name.
-
 
26
 
-
 
27
  \code{pkgs} and \code{version} will be recycled if necessary to the
-
 
28
  length of the longer one.
18
}
29
}
19
\seealso{
30
\seealso{
20
#ifdef unix
31
#ifdef unix
21
  \code{\link{REMOVE}} for a command line version;
32
  \code{\link{REMOVE}} for a command line version;
22
#endif
33
#endif