loading...

This is similar to install.packages(), except it takes by default the list of packages from .packages_to_install in SciViews:TempEnv. That list is populated automatically by infructuous calls to package(), so that just a call to Install() without arguments is generally sufficient.

Install(pkgs = get_temp(".packages_to_install"), ..., ask = TRUE)

Arguments

pkgs

The list of packages to install (character vector). If missing, the list is read from packages_to_install, which is cleared on success.

...

Further arguments passed to install.packages().

ask

If TRUE and pkgs is missing, ask first to install the packages.

Value

Returns TRUE in case of success, FALSE otherwise. The function is invoked for its side-effect of installing R packages.

See also