internet routines cannot be loaded

I am trying to install packages in Rstudio but getting this error:

install.packages("dslabs") Warning in install.packages : unable to access index for repository internet routines cannot be loaded

Hi @sajadtasharofi,
Welcome to the RStudio Community Forum.

Try using a different CRAN mirror site, preferably an https: one. In RStudio, navigate through the Tools>Global Options>Packages menu items to change the "Primary CRAN repository". the change, and then try to install the dslabs package again (using either install.packages("dslabs") or via the RStudio menus.

I'm guessing this is on a Linux based system?
It may be that you need to install the curl utility...

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