p_loaded {pacman} | R Documentation |
Check for Loaded Packages
Description
p_loaded
- Output is a character string of loaded packages.
p_isloaded
- Check if package(s) is loaded.
Usage
p_loaded(..., all = FALSE, char, character.only = FALSE)
p_isloaded(...)
Arguments
all |
logical. If |
char |
Character vector containing packages to load. If you are calling
|
character.only |
logical. If |
... |
Optional package names. Adding package names will check their individual load status. |
See Also
Examples
## Not run:
p_load(lattice, ggplot2)
## End(Not run)
p_loaded()
p_loaded(all=TRUE)
p_loaded(ggplot2, tm, qdap)
p_isloaded(ggplot2)
p_isloaded(ggplot2, dfs, pacman)
## Not run: p
_unload(lattice)
## End(Not run)
[Package pacman version 0.5.1 Index]