localPackages {svMisc} | R Documentation |
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.
localPackages(basedir = "d:/R", url = paste("file:", basedir, "/bin/windows/contrib", sep = ""), ask.update = TRUE)
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. |
This function returns nothing. It is invoked for its side effects.
Philippe Grosjean <phgrosjean@sciviews.org>
installLocalPackages
, updateLocalPackages