简体   繁体   中英

updating both Rprofile and R to the same version

Is there any idea, how I can find the version of my Rscript? The issue is, once I am running R in mac terminal, the version is 3.2.2 but running via Rscript the version is changed to 3.0.2. I would like to know how to update my Rscript's version!

I cannot comment, because I have less than 50 rep, so I'm writing here.

Are you under macOS Sierra?

When I upgraded R to version 3.4.0 after upgrading my Mac to macOS 10.12 (Sierra) I had some problems with rJava. While I searched for a solution, I also noticed that the R version numbers displayed in the GUI and the terminal differed. I am not quite sure what that problem was, but part of my solution was to completely uninstall R (note the comments about using which R !).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM