devtools (version 1.1)

install_version: Install specified version of a CRAN package.

Description

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 has_devel.

Usage

install_version(package, version = NULL,
    repos = getOption("repos"),
    type = getOption("pkgType"), ...)

Arguments

package
package name
version
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 i
...
Other arguments passed on to install.
repos
character vector, the base URLs of the repositories to use, e.g., the URL of a CRAN mirror such as "http://cran.us.r-project.org".

Can be NULL to install from local files (with extension .tar.gz for source p

type
character, indicating the type of package to download and install.

Possible values are "source", "mac.binary.leopard" and "win.binary": the binary types can be listed and downloaded but not installed on ot

See Also

Other package installation: install, install_bitbucket, install_git, install_github, install_gitorious, install_url