libraries | R Documentation |
This function is used to load and attach multiple add-on packages at once.
libraries(..., install = FALSE, quiet = TRUE, check = TRUE, output = TRUE)
... |
the names of the packages to be loaded, given as names
(e.g., |
install |
logical: if |
quiet |
logical: if |
check |
logical: if |
output |
logical: logical: if |
Takuya Yanagida takuya.yanagida@univie.ac.at
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
library
, require
## Not run:
# Load packages using the names of the packages
misty::libraries(misty, lme4, lmerTest)
# Load packages using literal character strings
misty::libraries("misty", "lme4", "lmerTest")
# Load packages using a character vector
misty::libraries(c("misty", "lme4", "lmerTest"))
# Check packages, TRUE = all depends/imports/suggests installed
misty::libraries(misty, lme4, lmerTest, output = FALSE)$result$restab
# Depends, FALSE = not installed, TRUE = installed
misty::libraries(misty, lme4, lmerTest, output = FALSE)$result$depends
# Imports, FALSE = not installed, TRUE = installed
misty::libraries(misty, lme4, lmerTest, output = FALSE)$result$imports
# Suggests, FALSE = not installed, TRUE = installed
misty::libraries(misty, lme4, lmerTestm output = FALSE)$result$suggests
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.