我无法在Windows7上使用RStudio安装devtools包,错误低于[*]。 提前获得任何帮助建议。
> install.packages("devtools")
Warning in install.packages :
unable to resolve 'cran.rstudio.com'
Warning in install.packages :
unable to resolve 'cran.rstudio.com'
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.1
Installing package into ‘C:/Users/Lucy/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to resolve 'cran.rstudio.com'
Warning in install.packages :
unable to resolve 'cran.rstudio.com'
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.1
Warning in install.packages :
package ‘devtools’ is not available (for R version 3.1.2)
答案 0 :(得分:1)
看起来RStudio镜子可能已经停机维修了。
“工具”菜单中的“全局选项”选项为您提供了多种面板选择。我点击了"更改..."我提出了镜像名称列表。按钮。有些镜子比其他镜子更新,更可靠。并且几乎所有镜像都有一些与其操作相关的停机时间,当您的默认选择没有响应时,它很容易尝试另一个镜像。
您可以使用它来选择其他镜像。