Eth*_*han 2 r bioconductor install.packages data.table
我正在尝试为 R 安装 data.table 库,但我无法让它工作。我已经尝试使用 CRAN 和 Bioconductor,但我一直收到一个错误,即该软件包不可用于 R 3.2.2:
> biocLite('data.table')
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.4), R version 3.2.2.
Installing package(s) ‘data.table’
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning message:
package ‘datatable’ is not available (for R version 3.2.2)
> install.packages("data.table")
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning message:
package ‘data.table’ is not available (for R version 3.2.2)
Run Code Online (Sandbox Code Playgroud)
我真的不知道该怎么做……对 R 非常陌生。
我在尝试在 Windows 8 上使用 RStudio(V 0.99.903)和 R(最新版本 3.3.1)安装 data.table 时遇到了类似的问题。我发出命令 install.packages('data.table') 但它失败了。对我有用的是直接用 R 运行 install.packages。它已正确安装。