Install specified version of a CRAN package.
If you are installing an package that contains compiled code, you will
need to have an R development environment installed. You can check
if you do by running
install_version(package, version = NULL, repos = getOption("repos"), type = getOption("pkgType"), ...)
- package name
- If the specified version is NULL or the same as the most
recent version of the package, this function simply calls
install. Otherwise, it looks at the list of archived source tarballs and tries to install a
- character vector, the base URL(s) of the repositories
to use, e.g., the URL of a CRAN mirror such as
"http://cran.us.r-project.org". For more details on supported URL schemes see
- character, indicating the type of package to download and
install. Will be
"source"except on Windows and some OS X builds: see the section on
Binary packagesfor those.
- Other arguments passed on to
Looks like there are no examples yet.