Learn R Programming

SciViews (version 0.8-8)

localPackages: Install and update packages from a local source easily under Windows

Description

Install and update packages from a local source like a CD-Rom. These packages must be windows binaries (.zip) and a 'package' file must describe them in the same directory as it is done on CRAN.

Usage

localPackages(basedir = "d:/R", url = paste("file:", basedir, "/bin/windows/contrib", sep = ""), ask.update = TRUE)

Arguments

basedir
The base directory of the local installation files
url
The whole path, or url, to use for installation. If provided, it overrides basedir
ask.update
If ask.update is TRUE, the function also update old packages. Otherwise, it only installs new ones.

Value

  • This function returns nothing. It is invoked for its side effects.

See Also

installLocalPackages, updateLocalPackages