The pacman package is an R package management tool that combines the functionality of base library related functions into intuitively named functions. This package is ideally added to .Rprofile to increase workflow by reducing time recalling obscurely named functions, reducing code and integrating functionality of base functions to simultaneously perform multiple actions.
Function names in the pacman package follow the format of p_xxx
where 'xxx' is the task the function performs. For instance the p_load
function allows the user to load one or more packages as a more generic substitute for the library
or require
functions and if the package isn't available locally it will install it for you.
We plan to upload pacman to CRAN on 02-01-2014. We will tackle as many issues between now and then as possible.
Currently there isn't a release on CRAN.
You can, however, download the zip ball or tar ball, decompress and run R CMD INSTALL
on it, or use the devtools package to install the development version:
## Make sure your current packages are up to date
update.packages()
## devtools is required
library(devtools)
install_github("pacman", "trinker")
Note: Windows users need Rtools and devtools to install this way.
You are welcome to:
- submit suggestions and bug-reports at: https://github.com/trinker/pacman/issues
- send a pull request on: https://github.com/trinker/pacman/
- compose a friendly e-mail to: [email protected]