libraryAll {quickcode} | R Documentation |
Load specific R libraries and clear environment
Description
Load specific packages, print a list of the loaded packages along with versions. Only include libraries, don't install if library doesn't exist
Usage
libraryAll(..., lib.loc = NULL, quietly = FALSE, clear = TRUE)
Arguments
... |
multiple library names |
lib.loc |
OPTIONAL. library store location |
quietly |
OPTIONAL. attach library quietly |
clear |
OPTIONAL. clear environment after attach |
Value
loaded libraries and clear environment
Examples
libraryAll(base) #one package
libraryAll(
base,
tools,
stats
) #multiple packages
libraryAll("grDevices") #with quotes
libraryAll(
stats,
utils,
quietly = TRUE
) #load quietly
libraryAll(
base,
clear = FALSE) #do not clear console after load
[Package quickcode version 0.8 Index]