Answers for "what is the use of install.packages function in r"

R
2

use packages in r

#Install package. 
install.packages("<package_name>")

#Load the package to use it in your code.
library (<package_name>)

#NB: If using an anaconda environment, install packagesin your terminal by 
#running code below:
conda install r-<package_name)
Posted by: Guest on September-21-2021

Code answers related to "what is the use of install.packages function in r"

Browse Popular Code Answers by Language