RStudio包安装错误

时间:2015-01-13 14:20:04

标签: r

我有最新版本的RStudio(3.1.2)。

当我尝试使用install.packages("devtools")安装软件包时,出现此错误:

Warning in install.packages :
  InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
  InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.1
Warning in install.packages :
  InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
  InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
  unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1
Installing package into ‘C:/Users/avinash/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)

我之前已经看过类似的类型,但是我已经尝试过大多数建议但它不起作用。我的版本是最新版本,我不通过代理访问网页。还有什么可能是这个问题?

我不确定错误消息中的那个部分“'lib'未指定”。安装RStudio时,一切都很好。

我的帖子在这里被某人标记为“重复”,但我已经提到过我没有使用代理进行网络访问。有没有人有其他解决方案?

0 个答案:

没有答案