R Language Installing packages

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • install.packages(pkgs, lib, repos, method, destdir, dependencies, ...)

Parameters

ParameterDetails
pkgscharacter vector of the names of packages. If repos = NULL, a character vector of file paths.
libcharacter vector giving the library directories where to install the packages.
reposcharacter vector, the base URL(s) of the repositories to use, can be NULL to install from local files
methoddownload method
destdirdirectory where downloaded packages are stored
dependencieslogical indicating whether to also install uninstalled packages which these packages depend on/link to/import/suggest (and so on recursively). Not used if repos = NULL.
...Arguments to be passed to ‘download.file’ or to the functions for binary installs on OS X and Windows.

Remarks

Related Docs



Got any R Language Question?