Which command is used to install packages in R?
A) install.packages("packageName")
B) load.packages("packageName")
C) add.packages("packageName")
D) setup.packages("packageName")
Asked by gagejun187
Answer (1)
The correct command to install packages in R is install.packages("packageName") . The other provided options are not valid commands in R. Using this command allows you to easily install and manage R packages for various functionalities. ;