Hi,
I am trying to update R in mac; I downloaded r-3.5.1.pkg, I installed that and restarted R but again the version is
> version
_
platform x86_64-apple-darwin13.4.0
arch x86_64
os darwin13.4.0
system x86_64, darwin13.4.0
status
major 3
minor 1.2
year 2014
month 10
day 31
svn rev 66913
language R
version.string R version 3.1.2 (2014-10-31)
nickname Pumpkin Helmet
>
I can not installed anything because saying
ERROR: this R is version 3.1.2, package 'updateR' requires R >= 3.2.3
Could you please help me to get why R can not be updated?
Thanks a lot in advance
I would recommend you try to install Microsoft R:
https://mran.blob.core.windows.net/install/mro/3.5.1/microsoft-r-open-3.5.1.pkg
Thank you, Microsoft R worked
I was updating in RStudio directly from .pkg
Perhaps the updated
R
went someplace other than your$PATH
, which still contains oldR
. Find the newR
and then add that location to your$PATH
at beginning.Sorry I just know where the downloaded R-3.5.1.pkg is. How I can add this to path?
You likely have more than one
R
versions in/Library/Frameworks/R.framework/3.*
. Do a find withfind /Library/Frameworks/R.framework -name "R" -print
and then change the symlink in/usr/local/bin/
to point to newR
.Thank you in
In R.framework/Versions I have R 2.15, 3.1, 3.2, 3.3, 3.4 and 3.5
I tried to set work directory to R 3.5 bin file but gives error
Sorry but I dont understand what should I do
Do the upgrade outside
R
. Directly from the.pkg
file you downloaded from CRAN server.Are you trying to update R from within R or RStudio itself?