Description Usage Arguments Value Author(s) Source See Also Examples
Loads the listed packages only
1 | load_package(package1, ...)
|
package1 |
R package. |
... |
Any additional R packages. |
Load package1
and other packages listed in the arguments ...
.
maloneypatr, Irucka Embry
Check if R package is installed then load library answered by maloneypatr is the source for the original function. See https://stackoverflow.com/questions/15155814/check-if-r-package-is-installed-then-load-library.
Error Handling in R By Nina Zumel, October 9, 2012, R-Bloggers. See http://www.r-bloggers.com/error-handling-in-r/.
install_load
if you are wanting to install and load packages
1 2 3 4 5 6 7 8 | ## Not run:
library("install.load")
# This will only load the package(s)
load_package("chron")
load_package("chron", "data.table", "dataRetrieval", "EGRET", "dplyr")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.