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.
Download the development version of pacman here
Functions for installing, loading, unloading, updating, & deleting packages
p_load
p_install
p_get
p_load_gh
p_install_gh
p_install_version
p_temp
p_unload
p_update
p_up
p_delete
p_del
Functions to obtain package session information.
p_loaded
p_isloaded
Functions to obtain local package information.
p_author
p_citation
p_cite
p_data
p_depends
p_depends_reverse
p_exists
p_functions
p_funs
p_help
p_information
p_info
p_interactive
p_inter
p_isinstalled
p_news
p_version
p_ver
p_vignette
p_vign
Functions to obtain Internet based package information.
p_cran
p_iscran
p_search_any
p_sa
Functions to obtain package library information.
p_base
p_library
p_lib
p_path
p_search_library
p_sl
p_unlock
General pacman tools/functions.
p_detectOS
p_extract
p_opendir