When running install.packages
in the latest R (3.4) and RStudio 1.0.143 I get the following warning
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'
This appears no matter what package(s) I select, however this does not appear to effect package installation. I tried clearing my ~/.rstudio-desktop
, /Library/Frameworks/R.framework/Versions/3.4/Resources/library
and reinstalling R and this warning still persists. Evening changing CRAN mirrors appears to have no effect as a similar warning appears. Below is my session information.
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
Restarting R prior to updating these packages is strongly recommended. RStudio can restart R and then automatically continue the installation after restarting (all work and data will be preserved during the restart).
In Windows, both R and Java come in 32-bit and 64-bits architectures. If you install R in both architectures, you must also install Java in both architectures. It is recommended to only install the 64-bit version of R.
Just to let people know: this issue is coming from the R-Studio IDE. It will be fixed in the newest version. For more info: see this link.
EDIT:
With the new version (1.0.153) this issue has been resolved!
As @ManualS already acknowledged this is an issue with the RStudio 1.0.143. As long as there is no fix the following workaround works fine:
install.packages("packagename")
or by menu "Packages/Install package(s)"A full support session (for the OneR package) with more details can be found here: https://github.com/vonjd/OneR/issues/4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With