在Rstudio中安装软件包

时间:2015-07-25 13:20:07

标签: r rstudio reshape2

有谁知道为什么我不能安装这个:

> install.packages("reshape2")
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/src/contrib
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/src/contrib
Warning in install.packages :
  package 'reshape2' is not available (for R version 3.2.1)
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2

1 个答案:

答案 0 :(得分:0)

运行

setRepositories()

然后,在数字之间写下空格

1 2 3 4 5 6

这将包括以时间方式进入RStudio的bioclite存储库