我目前在我的linux服务器上安装了R-3.2.2版本。是否有方法使用命令将R版本升级到只有R-3.3.3版本。
当我做yum安装R时,我看到安装了最新版本,即3.4.1。但我只想安装R-3.3.3版本。
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发布于 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安装它。就像这样:
$ yum --showduplicates list r | expand将给出从回购中获得的版本的确切名称,并将其安装为(将3.3.3替换为列表中的版本)
$ sudo yum install r-3.3.3https://stackoverflow.com/questions/46371222
复制相似问题