import.packages | R Documentation |
Install the package with the specific version according to the YAML file which is created by export.packages
.
import.packages(file = "pvm.yml", lib.loc = NULL, ..., repos = getOption("repos"), import.recommended = FALSE, dryrun = FALSE, verbose = TRUE, strict.version = TRUE, Ncpus = getOption("Ncpus", 1L))
file |
the filename of the YAML file. |
lib.loc |
character vector giving the library directories where to check and install the packages. |
... |
Further arguments passed to |
repos |
character vector, the base URL(s) of the CRAN repositories to use. |
import.recommended |
logical value. Whether to install those packages whose priority is |
dryrun |
logical value. If |
verbose |
logical value. If |
strict.version |
logical value. If |
Ncpus |
integer. The number of parallel processes to use for a parallel install of more than one packages. |
## Not run: # import packages import.packages() # import from "pvm.yml" # Set a local library directory for importing dir.create(".lib") .libPaths(".lib") import.packages() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.