Learn R Programming

BrailleR (version 1.0.2)

Require: Load a package by installing it if necessary

Description

It is easier to run a script if we know the packages will be installed if this additional step is necessary. Installation uses the RStudio mirror of CRAN.

Usage

Require(pkg)

Value

logical: to say that the package has been successfully loaded (invisible)

Arguments

pkg

the package to be loaded/installed.

Author

A. Jonathan R. Godfrey

See Also

require from the base package