Nothing
## File Name: library_install.R
## File Version: 0.08
#################################################
# load packages or install some packages
# if they are needed.
library_install <- function( pkg, ... ){
PP <- length(pkg)
for (vv in 1:PP){
pp <- pkg[vv]
ab1 <- do.call( what=require,
args=list( package=pp, quietly=TRUE ) )
if ( ! ab1 ){
utils::install.packages( pp, ...)
}
do.call( require, list( package=pp ) )
}
}
################################################
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.