Learn R Programming

useful (version 1.2.6.1)

load_packages: load_packages

Description

Loads multiple packages

Usage

load_packages(packages)

Value

Nothing, loads packages

Arguments

packages

A `character` vector of packages to be installed

Author

Jared P. Lander

Details

Allows the user to load multiple packages with one line of code. Delivers a message saying which packages have been loaded. If a user requests packages that are not installed there is an error.

Examples

Run this code

load_packages('ggplot2')
load_packages(c('ggplot2', 'dplyr'))

Run the code above in your browser using DataLab