将Rprofile和R更新到相同版本 [英] updating both Rprofile and R to the same version

查看:139
本文介绍了将Rprofile和R更新到相同版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么想法,如何找到我的Rscript版本? 问题是,一旦我在Mac终端上运行R,版本是3.2.2,但是通过Rscript运行,版本更改为3.0.2.我想知道如何更新我的Rscript版本!

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!

推荐答案

我无法发表评论,因为我的代表人数少于50,所以我在这里写.

您是否在macOS Sierra下?

Are you under macOS Sierra?

当我将Mac升级到macOS 10.12(Sierra)后将R升级到3.4.0版本时,rJava出现了一些问题.在搜索解决方案时,我还注意到在GUI和终端上显示的R版本号有所不同.我不太确定那是什么问题,但是我的解决方案的一部分是完全卸载R (请注意有关使用which R的注释!).

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

这篇关于将Rprofile和R更新到相同版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆