I recently updated RStudio on my Mac to v. 3.6.2 and now realize I have been unable to install any packages, including ggplot2. I have tried many of the solutions suggested on this forum and nothing has worked. I'm not sure what else to do.
install.packages('ggplot2')
Warning in install.packages :
package ‘ggplot2’ is not available (for R version 3.6.2)
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6:
cannot open URL 'http://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/PACKAGES'