Learn R Programming

BBmisc (version 1.10)

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(...)

Arguments

...
[any] Package names.

Value

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

Examples

Run this code
## Not run: 
# lib("BBmisc", "MASS", "rpart")
# ## End(Not run)

Run the code above in your browser using DataLab