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().
# 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)