Learn R Programming

repmis (version 0.2.4)

InstallOldPackages: Install old versions of R packages.

Description

InstallOldPackages installs specific R package versions.

Usage

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

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".
...
other arguments passed to specific methods.

Details

Installs specific R package versions.

See Also

install.packages and download.file

Examples

Run this code
# Not Run
# Install old versions of the e1071 and gtools packages.
# Used R version 2.15.3
# Names <- c("e1071", "gtools")
# Vers <- c("1.6", "2.6.1")
# InstallOldPackages(pkgs = Names, versions = Vers)

Run the code above in your browser using DataLab