How to Install packages:
To install the package in R use install.packages(“packagename”) and replace packagename by the package you want to install.
Syntax:
install.packages(“packagename”)
Note: packagename is case-sensitive.
R
install.packages ( "httr" ) |
Output:
Manage packages in R
In this article, we will see how to manage packages in R Programming Language using R script.