packages not available for R version 4.0.0

install.packages("ggplot2")
warning:
Warning: unable to access index for repository
cannot open URL 'https://mirror.las.iastate.edu/CRAN/src/contrib/PACKAGES'
Warning: unable to access index for repository
cannot open URL 'https://mirror.las.iastate.edu/CRAN/bin/macosx/contrib/4.0/PACKAGES'
Warning message:
package ‘ggplot2’ is not available (for R version 4.0.0)

This seems like a connectivity issue, R is not being able to connect to the CRAN repository you have selected, these are some things to try.

  • Choose a different CRAN repository, RStudios repository is a good choice (http://cran.rstudio.com/) or you could choose one that is geographically closer to you.
  • Disable secure download setting.
  • Check if your internet connection has traffic restrictions of some kind, like a firewall, proxy server, etc. This is usually the case when you are at work or school.
2 Likes

no, this advice doesn't work for me. arning in install.packages :
package ‘timek’ is not available (for R version 4.0.1)

After upgrading to 4.0 and now 4.0.1 I can't install loads of packages. The mirror site isnt' the issue, I hope this issue gets solved fast.

Run with secure connection, it will work

this issue is likely a typo.
timetk is a package available on CRAN, and timek is not.

You're absolutely right! Thanks a lot. topic closed!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.