Description Usage Arguments Details Value Author(s) References See Also
Install packages from a local directory in proper dependency order. Only intended for packages of type 'source', i.e. "*.tar.gz".
1 | sortedInstall(pkgDir = getwd(), libDir=NULL, addLib = TRUE, tmpName = "tmpdir", ...)
|
pkgDir |
directory where packages ( |
libDir |
directory where packages are to be installed (if |
addLib |
logical: add |
tmpName |
temporary file created in |
... |
arguments to be passed to |
This function is an interactive way to recreate a particular package environment, with fine control over package versions. The user archives the packages locally. The function resolves the interdependencies to determine installation order.
Naturally, the metrumrg
package and its dependencies must be
attached in order to use sortedInstall
. If these packages conflict
with the contents of pkgDir
, users will need detach them before
attaching the desired versions. An easier solution may be closing the
current R session and opening a new one.
If pkgDir
contains more than one version of a package, the user
will be prompted to choose one to install.
The user must have write privileges to pkgDir
.
The function will destroy tmpName
, so if tmpdir
exists
in pkgDir
it should probably be renamed.
Invisible NULL
.
Natalie Hsiang
http://metrumrg.googlecode.com
install.packages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.