available.pkgs
returns a matrix of the packages available in given repositories.
download.pkgs
downloads packages.
exists.pkgs
tells if packages are available from repositories.
Library
tries loading packages and install them if needed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | available.pkgs(...)
download.pkgs(pkgs, destdir, available = NULL, ...)
exists.pkgs(pkgs, repos = getOption("repos"), ..., value = FALSE,
fixed = TRUE)
old.pkgs(lib.loc = NULL, repos = getOption("repos"), available = NULL,
..., type = getOption("pkgType"), verbose = TRUE)
## S3 method for class 'pkgs'
update(lib.loc = NULL, repos = getOption("repos"),
instlib = NULL, ask = TRUE, available = NULL, oldPkgs = NULL, ...,
type = getOption("pkgType"), dry.run = NULL, verbose = TRUE)
Library(package, lib.loc = NULL, ...)
|
... |
additional arguments to be passed to
|
pkgs |
character vector of the names of packages whose latest available versions should be downloaded from the repositories. |
destdir |
directory where downloaded packages are to be stored. |
available |
an object as returned by |
repos |
character vector, the base URL(s) of the repositories
to use, i.e., the URL of the CRAN master such as
|
value |
logical, used only when |
fixed |
logical that indicates if the elements of |
lib.loc |
character vector describing the location of R
library trees to search through (and update packages therein), or
|
type |
character string, indicate which type of packages: see
|
verbose |
verbosity level (logical or numeric) |
instlib |
character string giving the library directory where to install the packages. |
ask |
logical that specifies if the user should be asked before installling the available updates, or if these should be directly installed. |
oldPkgs |
if specified as non-NULL, |
dry.run |
logical that indicates if one should only return the computed set of
packages and dependencies to install.
If |
package |
the name of a package, given as a name or
literal character string, or a character string, depending on
whether |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.