install.versions {versions} | R Documentation |
install.versions
Description
Download and install named versions of packages hosted on CRAN from the MRAN server.
Usage
install.versions(pkgs, versions, lib, ...)
Arguments
pkgs |
character vector of the names of packages that should be downloaded and installed |
versions |
character vector of the versions of packages to be
downloaded and installed. If this has the same length as |
lib |
character vector giving the library directories where to
install the packages. Recycled as needed. If missing, defaults to the
first element of |
... |
other arguments to be passed to |
Examples
## Not run:
# install an earlier version of checkpoint
install.versions('checkpoint', '0.3.3')
# install earlier versions of checkpoint and devtools
install.versions(c('checkpoint', 'devtools'), c('0.3.3', '1.6.1'))
## End(Not run)