loadLibrary: loadLibrary

Description Usage Arguments Value See Also Examples

Description

Helper function to call library, install missing packages or update old packages if needed

Usage

1
2
3
4
  loadLibrary(x, repos = getOption("repos"),
    type = .Platform$pkgType,
    contriburl = contrib.url(repos, type = type),
    lib.loc = NULL)

Arguments

x

the name of a package

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

lib.loc

a character vector describing the location of the R library

Value

nothing

See Also

install.packages, require

Examples

1
## Not run: loadLibrary("MALDIquant")

sgibb/sgtools documentation built on May 29, 2019, 8:04 p.m.