Updated r - can't install rmarkdown

I have recently updated r, and when i tried creating a new rmarkdown it wasn't working so I tried installing the rmarkdown which also won't work.
I was getting the code below:

Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/src/contrib:
cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
package ‘rmarkdown’ is not available (for R version 3.6.1)
Warning in install.packages :
unable to access index for repository cran.rstudio /bin/windows/contrib/3.6:
cannot open URL

This suggest R is having connectivity issues, is your internet connection behind a proxy server or firewall? That is usually the case when you are at work or school.

Another thing to try is to disable secure HTTP option

2 Likes

Thank you! The issue was the proxy server or firewall - it worked when I tried again when left work.

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