Linux安装问题 - R.

时间:2014-07-25 14:36:13

标签: linux r install

在我的Centos VE上安装R时,我看到以下错误:

Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtcl8.4.so()(64bit)
Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtk8.4.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

我尝试使用以下命令安装R:

rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install R

任何帮助?

1 个答案:

答案 0 :(得分:0)

首先安装这两个依赖项文件 -

tcl-devel
tk-devel

按照以下命令

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install tcl
sudo yum clean all
sudo yum install R