Learn R Programming

pacman (version 0.5.1)

p_temp: Install a Package Temporarily

Description

Installs and loads a package for the current session. The package won't be available in future sessions and will eventually be deleted from the machine with no additional effort needed by the user. This will also install the necessary dependencies temporarily as well.

Usage

p_temp(package, character.only = FALSE)

Arguments

package

The package we want to install temporarily

character.only

logical. Is the input a character string?

References

http://stackoverflow.com/a/14896943/1003565