updating both Rprofile and R to the same version

浪尽此生 提交于 2019-12-12 06:44:21

问题


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!


回答1:


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 !).



来源:https://stackoverflow.com/questions/44234411/updating-both-rprofile-and-r-to-the-same-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!