installPackages: installPackages

Description Usage Arguments Value See Also Examples

View source: R/installPackages-functions.R

Description

Wrapper around install.packages to allow to install old versions of a packages.

Usage

1
2
3
  installPackages(packages, version, lib.loc = NULL,
    repos = getOption("repos"), type = .Platform$pkgType,
    contriburl = contrib.url(repos, type = type))

Arguments

packages

a character vector of package names

version

a character vector of package versions (if missing current version is taken)

lib.loc

a character vector describing the location of the R library

repos

character vector, the base URLs of the repositories to use

type

character string, the preferred setting (e.g. "source")

contriburl

URL(s) of the contrib sections of the repositories

Value

nothing

See Also

install.packages

Examples

1
2
3
4
5
## Not run: 
installPackages(packages=c("MALDIquant", "readBrukerFlex"),
                version=c("1.0", "1.0"))

## End(Not run)

sgibb/sgtools documentation built on May 26, 2017, 6:56 a.m.