InstallOldPackages: Install old versions of R packages.

Description Usage Arguments Details See Also Examples

View source: R/InstallOldPackages.R

Description

InstallOldPackages installs specific R package versions.

Usage

1
2
InstallOldPackages(pkgs, versions, oldRepos = "http://cran.r-project.org",
  lib = NULL)

Arguments

pkgs

character vector of package names to install.

versions

character vector of package version numbers. to install. The order must match the order of package names in pkgs.

oldRepos

character name of repository to download the packages old package versions from. Default is oldRepos = "http://cran.r-project.org".

lib

character vector giving the library directories where to install the packages. Recycled as needed. If NULL, defaults to the first element of .libPaths().

Details

Installs specific R package versions.

See Also

install.packages and download.file

Examples

1
2
3
4
5
6
7
## Not run: 
# Install old versions of the e1071 and gtools packages.
Names <- c("e1071", "gtools")
Vers <- c("1.6", "2.6.1")
InstallOldPackages(pkgs = Names, versions = Vers)

## End(Not run)


repmis documentation built on May 19, 2017, 12:56 p.m.
Search within the repmis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.