Learn R Programming

repfun (version 0.1.2)

ru_load_library: Load a list of libraries

Description

Given a list of packages, check if installed and generate message, otherwise load package.

Usage

ru_load_library(pkgs)

Value

'NULL' because packages are loaded.

Arguments

pkgs

A list of packages to check if installed and then load.

Examples

Run this code
library(repfun)
repfun::ru_load_library(c("dplyr", "haven", "magrittr", "r2rtf"))

Run the code above in your browser using DataLab