Learn R Programming

yulab.utils (version 0.1.7)

pload: pload

Description

loading a package

Usage

pload(package, action = "auto")

Value

the selected package loaded to the R session

Arguments

package

package name

action

function used to install package. If 'action = "auto"', it will try to use 'BiocManager::install()' if it is available.

Author

Guangchuang Yu

Details

The function use 'library()' to load the package. If the package is not installed, the function will try to install it before loading it.