Looks through the CRAN archives for the newest published version of R packages that are compatible with the version of R installed.
1 2 | install.compatible.packages(package_name,
R_version = "installed_version", lib = .libPaths()[1])
|
package_name |
A character vector of names of packages to install |
R_version |
A character vector giving the R version(s) to attempt installation for. The default, "installed_version", will attempt installation for the version of R from which the function was called. Any entry that does not contain a version number (e.g. "3.4.3") will be ignored. |
lib |
A character vector giving the directories to install the packages
to (see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.