当install.packages
在最新的R(3.4)和RStudio 1.0.143中运行时,我收到以下警告
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'
Run Code Online (Sandbox Code Playgroud)
无论我选择哪个软件包,都会出现这种情况,但这似乎不会影响软件包安装.我尝试清除我的~/.rstudio-desktop
,/Library/Frameworks/R.framework/Versions/3.4/Resources/library
并重新安装R,这个警告仍然存在.晚上更换CRAN镜子似乎没有效果,因为出现了类似的警告.以下是我的会话信息.
R version 3.4.0 (2017-04-21)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.4
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] datasets stats graphics grDevices utils methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.0 tools_3.4.0
Run Code Online (Sandbox Code Playgroud)