Last data update: 2014.03.03
|
R: Helper to install (if needed) and load a package
GetPackage | R Documentation |
Helper to install (if needed) and load a package
Description
Given a package name, either as a string or object,
load the package if it exists, else install it from
CRAN and then load
Usage
GetPackage(package)
Arguments
package |
A character vector of packages to load
|
Examples
GetPackage('gam')
Results
|