首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将R版本从3.2.2升级到3.3.3

将R版本从3.2.2升级到3.3.3
EN

Stack Overflow用户
提问于 2017-09-22 18:37:18
回答 1查看 2.1K关注 0票数 0

我目前在我的linux服务器上安装了R-3.2.2版本。是否有方法使用命令将R版本升级到只有R-3.3.3版本。

当我做yum安装R时,我看到安装了最新版本,即3.4.1。但我只想安装R-3.3.3版本。

代码语言:javascript
复制
yum --showduplicates list r | expand
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
Loaded plugins: aliases, presto, product-id, refresh-packagekit, rhnplugin,
              : security, tmprepo, verify, versionlock
Installed Packages
R.x86_64                     3.3.3-1.el6                     @epel
Available Packages
R.x86_64                     3.2.3-4.el6                     HDP-UTILS-1.1.0.21
R.x86_64                     3.2.3-4.el6                     HDP-UTILS-2.5.0.0
R.x86_64                     3.2.3-4.el6                     HDP-UTILS-2.6.0.3
R.x86_64                     3.2.3-4.el6                     HDP-UTILS-2.6.0.3-8
R.x86_64                     3.4.1-1.el6                     epel

--------------------------------------------
sudo yum install R-3.3.3-1
Loaded plugins: aliases, presto, product-id, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package R-3.3.3-1 available.
Error: Nothing to do


sudo yum install r-3.3.3-1.el6
Loaded plugins: aliases, presto, product-id, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package r-3.3.3-1.el6 available.
  * Maybe you meant: R
Error: Nothing to do
sudo yum install R-3.3.3-1.el6
Loaded plugins: aliases, presto, product-id, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Nothing to do
EN

回答 1

Stack Overflow用户

发布于 2017-09-22 19:59:30

更新

您的包列表显示R.x86_64 3.3.3-1.el6已安装版本。你确定不是吗?

您可以使用命令行的R --version或R中的R.version.string检查版本,如果不是3.3.3,我建议尝试使用sudo yum remove r并重新安装所需的sudo yum install r-3.3.3-1.el6版本。

上升式末端

您应该先找出确切的版本名称,然后按照描述的here安装它。就像这样:

代码语言:javascript
复制
$ yum --showduplicates list r | expand

将给出从回购中获得的版本的确切名称,并将其安装为(将3.3.3替换为列表中的版本)

代码语言:javascript
复制
$ sudo yum install r-3.3.3
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46371222

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档