Learn R Programming

k5 (version 0.0.5)

load.packages: Save and load packages from file

Description

Save and load packages from file

Usage

load.packages(path = NULL, install = FALSE)

save.packages(x = NULL, path = tempfile())

Value

The list of packages, invisibly.

Arguments

path

The path to a text file containing package names. If NULL (default), then the default list is read from k5/inst/PACKAGES.

install

If TRUE, install missing packages.

x

A character vector of package names to save. If NULL (default), use all currently attached packages.