Error in installing packages
Title
Question
While installing ggplot2, I am getting an error, "package ggplot2 is not available (for R version 3.5.1)".
How to install this package now?
R Introduction-to-RStudio 07-08 min 30-40 sec
Answers:
Please make sure that you have a working Internet connection. Subsequently, you should try one of the options given below:
Restart R and RStudio
Run the command install.packages("ggplot2", dependencies = TRUE)
Change the CRAN from the user interface of the RStudio
Login to add comment