Binaries and Sources Update
This is sometimes used to perform additional operations at the end of the package installation in addition to removing intermediate files.
Values greater than one are supported if the make command specified by Sys. This can also be used on Windows to install just the DLL s from a binary package, e. Can also be a named list of character vectors to be used as additional options, with names the respective package names.
Alternatively, a character string giving the directory in which to save the outputs. Ignored when installing from local files. Arguments to be passed to download. This is the main function to install packages. It takes a vector of names and a destination library, downloads the packages from the repositories and installs them. If the library is omitted it defaults to the first directory in.
If lib is omitted or is of length one and is not a group writable directory, in interactive use the code offers to create a personal library tree the first element of Sys. For installs from a repository an attempt is made to install the packages in an order that respects their dependencies. You are advised to run update. This section applies only to platforms where binary packages are available: R packages are primarily distributed as source packages, but binary packages a packaging up of the installed package are also supported, and the type most commonly used on Windows and by the CRAN builds for macOS.
This function can install either type, either by downloading a file from a repository or from a local file. Possible values of type are currently "source" , "mac.
For a binary install from a repository, the function checks for the availability of a source package on the same repository, and reports if the source package has a later version, or is available but no binary version is.
This check can be suppressed by using. The action if there are source packages which are preferred but may contain code which needs to be compiled is controlled by getOption "install.
This has two purposes: A finer-grained locking is provided by the option --pkglock which creates a separate lock for each package: Finally locking and restoration on error can be suppressed by --no-lock. For a macOS or Windows binary install, no locking is done by default. Note that it is possible for the package installation to fail so badly that the lock directory is not removed: From Wikipedia, the free encyclopedia.
Installing on OS X". Chrome Web Store Mozilla Add-ons. Uncompiled packages source code. Fink MacPorts Homebrew pkgsrc. Retrieved from " https: Computing-related lists Package management systems Software distribution. CS1 French-language sources fr.
Views Read Edit View history. This page was last edited on 3 April , at