Warning in install.packages : unable to access index for repository http://www.icesi.edu.co/CRAN/src/contrib:

Hi, I'm new to rstudio, I've tried to install some packages but I couldn't, I get this message every time I go to install one. Could you please help me to solve it thank you

install.packages("installr", dependencies = TRUE)
Warning in install.packages :
unable to access index for repository http://www.icesi.edu.co/CRAN/src/contrib:
cannot open URL ....
Warning in install.packages :
unable to access index for repository .....
cannot open URL
Warning in install.packages :
package ‘installr’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at

status was 'SSL connect error'

Hi, are you running on an OS that is not Windows? That might be the issue with installr.

Although the SSL connect error suggests that it is probably something else.

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. This might help when some download methods are not available in your system
  • 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.
1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.