install.statnet {statnet} | R Documentation |
Installs all the component packages of
statnet. If the latest version of a component package is already
installed it if not updatd.
Many of the packages are on CRAN
. The rest are on
the statnet webpage (http://statnetproject.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.
install.statnet(object, ..., contriburl = "http://statnetproject.org", repos = getOption("repos"), type = getOption("pkgType"))
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://statnetproject.org). Overrides argument repos .
Can be NULL to install from local ‘.tar.gz’ files.
|
repos |
character vector, the base URL(s) of the repositories
to use, i.e., the URL of the CRAN master such as
"http://cran.r-project.org" or its Statlib mirror,
"http://lib.stat.cmu.edu/R/CRAN" .
Can be NULL to install from local ‘.tar.gz’ files.
|
type |
character, indicating the type of statnet
package to download and install.
Possible values are "base" (for packages essential to statnet),
"recommended" (for packages needed for a significant part of
statnet functionality) and "optional"
(for packages with specialized statnet functionality).
|
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://statnetproject.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
handcock@u.washington.edu
who will fix it.
## Not run: update.statnet() ## End(Not run)