我最近在个人计算机(Windows 8)上安装了R Studio(版本0.99.892),并尝试安装以下软件包:ggplot2; dplyr; rmarkdown; tidyr.
R和R Studio都无法安装任何这些软件包.每次我尝试安装软件包时,都会收到我在此帖子底部包含的警告集.
我使用了install.packages命令以及内置包安装工具.我尝试了几种不同的镜子.
我曾尝试过公立大学的互联网资源,我自己的私人互联网资源和电话系绳.我试图通过VPN连接.我已将R Studio添加到我的Windows防火墙例外列表中,并且还完全禁用了Windows防火墙.我没有运行其他防火墙.
我已切换全局选项中"包"选项卡中的各种连接选项.
我可以在浏览器中访问URL.
以下是R Studio的警告:
> install.packages("devtools")
Warning in install.packages :
InternetOpenUrl failed: 'The server name or address could not be resolved'
Warning in install.packages :
InternetOpenUrl failed: 'The server name or address could not be resolved'
Warning in install.packages :
unable to access index for repository https://cran.fhcrc.org/src/contrib:
cannot open URL 'https://cran.fhcrc.org/src/contrib/PACKAGES'
Warning in install.packages :
InternetOpenUrl failed: 'The server name or address could not be resolved'
Warning in install.packages …Run Code Online (Sandbox Code Playgroud)