Description Usage Arguments Details See Also Examples
View source: R/InstallOldPackages.R
InstallOldPackages
installs specific R package versions.
1 2 | InstallOldPackages(pkgs, versions, oldRepos = "http://cran.r-project.org",
lib = NULL)
|
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 |
oldRepos |
character name of repository to download the packages old
package versions from. Default is
|
lib |
character vector giving the library directories where to install
the packages. Recycled as needed. If |
Installs specific R package versions.
install.packages
and download.file
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.