update_statnet {statnet} | R Documentation |
Updates or, if necessary, installs the component packages of
statnet. Many of the packages are on CRAN
. The rest are on
the statnet webpage (http://statnet.org).
This command can be used immediately after installing statnet
from CRAN
to install the component packages.
It also can be used at any subsequent point to update the packages to their
latest versions.
Consult the webpage for more information.
update_statnet(object, ..., contriburl = "http://statnet.org", repos = getOption("repos"), type = getOption("pkgType"), ask=TRUE)
object |
an optional vector of the names of the packages to install. By default it updates or installs all the component packages of statnet. |
... |
Additional arguments (currently none). |
contriburl |
URL of the contrib section of the
repositories. By default this is the URL of the statnet webpage
(http://statnet.org). Overrides argument |
repos |
character vector, the base URL(s) of the repositories
to use, i.e., the URL of the CRAN master such as
|
type |
character, indicating the type of statnet
package to download and install.
Possible values are |
ask |
logical indicating whether to ask user which packages
ins statnet to update or install.
The default is |
While this function has a number of options, few users will change the defaults and they are not intended to be altered except in rare circumstances.
The main function is to install a functional set of
statnet packages. First a list
of all packages found in the default library
(the first directory in .libPaths()
)
is created and compared with those available at the statnet
repositories (CRAN
and http://statnet.org).
If ask = TRUE
(the default for "recommended" and "optional",
but not for "base") packages with a newer version are
reported and for each one the user can specify if it should be
updated.
update_statnet
has no return value.
This function may fail in rare circumstances. If so, send email to
the statnet Users Group at
statnet_help@u.washington.edu
. See the link on
http://statnet.org for how to join it.
## Not run: update_statnet() ## End(Not run)