Description Usage Arguments Value Examples
View source: R/inst.load.packages.R
Loads a package called "package" and installs it if necessary
1 | inst.load.packages(package, silent = FALSE, inst.bioclite = FALSE)
|
package |
The package you want to load |
silent |
If "TRUE", no output is generated |
instBiocLite |
If it is a package from bioconductor, set it to TRUE |
loads the "package"
1 2 3 4 5 6 7 8 | inst.load.packages("ggplot2") # loads (& installs) ggplot2
inst.load.packages("ggplot2", silent=TRUE)
# if package not already installed it also installs it with inst.bioclite=TRUE
inst.load.packages("vioplot", inst.bioclite=TRUE)
# if bioconductor package should be installed, inst.bioclite MUST be =TRUE
inst.load.packages("NanoStringQCPro", inst.bioclite=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.