# \donttest{
# load packages and print their versions to the console
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
# clear previously loaded packages, then load r2resize and r2social
libraryAll(
stats,
utils,
clearPkgs = TRUE
)
# }
Run the code above in your browser using DataLab