Learn R Programming

BBmisc (version 1.13)

lib: A wrapper for library.

Description

Tries to load packages. If the packages are not found, they will be installed from the default repository. This function is intended for use in interactive sessions and should not be used by other packages.

Usage

lib(...)

Value

[logical]: Named logical vector determining the success of package load.

Arguments

...

[any]
Package names.

Examples

Run this code
if (FALSE) {
lib("BBmisc", "MASS", "rpart")
}

Run the code above in your browser using DataLab