ipak | R Documentation |
Takes a vector of package names and installs them. Requires specifying repository type.
ipak(pkg, repository = c("CRAN", "Bioconductor", "github"))
pkg |
package names in a character vector |
repository |
one of "CRAN", "Bioconductor", "github". Indicates from which repository to install packages. |
Modified after powsimR installation instructions
## Not run: # CRAN packages cranpackages <- c("tidyverse", "data.table") ipak(cranpackages, repository = "CRAN") # Bioconductor biocpackages <- c("limma", "SingleCellExperiment") ipak(biocpackages, repository = "Bioconductor") # GitHub githubpackages <- c("nanxstats/ggsci", "slowkow/ggrepel") ipak(githubpackages, repository = "github") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.