![R - 警告:无法访问存储库的索引](https://linux22.com/image/985364/R%20-%20%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%E5%AD%98%E5%82%A8%E5%BA%93%E7%9A%84%E7%B4%A2%E5%BC%95.png)
这是我的操作系统详细信息:
$ uname -a
Linux starbuck 3.2.0-92-generic #131-Ubuntu SMP Tue Oct 20 16:16:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
这是我的 R 版本:
$ R --version
R version 3.2.2 (2015-08-14) -- "Fire Safety"
这是我的.Rprofile
:
options("repos" = c(CRAN = "https://cran.r-project.org"))
现在,当我打开 R 并尝试列出可用的包时,我得到了:
> available.packages()
Warning: unable to access index for repository https://cran.r-project.org/src/contrib
Package Version Priority Depends Imports LinkingTo Suggests Enhances
License License_is_FOSS License_restricts_use OS_type Archs MD5sum
NeedsCompilation File Repository