我得到这个错误Rstudio没有连接到CRAN
Installing package into ‘C:/Users/XXXXX/Downloads/RPackages’
(as ‘lib’ is unspecified)
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/src/contrib:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES'
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/shinythemes_1.1.1.zip'
Content type 'application/zip' length 999652 bytes (976 KB)
downloaded 976 KB
也就是说,Rstudio不停地尝试连接到其他网址,当它连接到https://cran.rstudio.com/bin/windows/contrib/3.4/shinythemes_1.1.1.zip
只有成功为什么会出现这种情况?
设置我GLOBAL(CDN)Rstudio,安全HTTP方法和使用Internet Explorer代理服务器设置为HTTP方法。
使用不同的镜。 – Roland
转到RGUI并测试不同的存储库。 – Rockbar