Hello!
I have been trying to install R packages onto my work machine but I have not been able to do so! I am running R 3.6.3 on Mac OS Mojave. I've looked at other posts and even after putting my http proxy setting onto the .Renviron file i keep getting the same errors. When I try to select a different mirror I get an erro saying it cannot connect to the mirror. I have been stuck with this issue for several days and I am unsure what to do. Can anyone help?
I tried the same things in my personal computer and it worked so I assume it has to do with proxy or firewall. But even after setting proxies I cannot get past this.
Error when trying to install
> 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 :
> 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 ‘data.table’ is not available (for R version 3.6.3)
> 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'
Error when choosing other mirror
> Warning message:
> In download.file(url, destfile = f, quiet = TRUE) :
> URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'HTTP response code said error'