关于Mac使用R/RStudio install.packages()失败解决方式
RStudio中installs显示Warning: unable to access index for…
在RStudio中,未能解决这个问题,但是我发现在R中下载成功后的包,在RStudio中也可以使用,故本篇失败信息和解决方法是针对R的。
失败信息:
Warning: unable to access index for repository https://mirrors.bfsu.edu.cn/CRAN/src/contrib: cannot open URL ‘https://mirrors.bfsu.edu.cn/CRAN/src/contrib/PACKAGES’ Warning: unable to access index for repository https://mirrors.bfsu.edu.cn/CRAN/bin/macosx/contrib/4.1: cannot open URL ‘https://mirrors.bfsu.edu.cn/CRAN/bin/macosx/contrib/4.1/PACKAGES’ Warning message: package ‘psych’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages starting httpd help server … done