lib: A wrapper for 'library'.

View source: R/lib.R

libR Documentation

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

## Not run: 
lib("BBmisc", "MASS", "rpart")

## End(Not run)

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to lib in BBmisc...