libraries {easypackages}R Documentation

libraries()

Description

A vectorized version of the library function that accepts one or more package names to call library on. Unlike library, the libraries function does not use non-standard evaluation (NSE) on its inputs, meaning that you must supply your package names as strings, or as variables.

Usage

libraries(...)

Arguments

...

one or more package names or package_obj objects

Details

You may supply either package names and package_obj objects to this function. You may also add :: to the end of a package name to load the package instead of attaching the package (this means that the package will not be added to the search list, but will be available to access via the :: operator).

Examples

## Not run: 
libraries("dplyr", "ggplot2", "rvest", "magrittr")
libraries("dplyr::", "Rdatatable/data.table")

## End(Not run)

[Package easypackages version 0.1.0 Index]