我之前在运行RedHat EL6.5的机器上安装了R,但最近我在安装新软件包时遇到了问题(即install.packages()).由于我找不到解决方案,我尝试使用以下方法重新安装R:
sudo yum remove R
和
sudo yum install R
但现在我得到:
.... ---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed --> Processing Dependency: blas-devel >= 3.0 for package: R-core-devel-3.1.0-5.el6.x86_64 --> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64 --> Processing Dependency: lapack-devel for package: R-core-devel-3.1.0-5.el6.x86_64 ---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed --> Finished Dependency Resolution Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel) Requires: blas-devel >= 3.0 Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel) Requires: lapack-devel Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel) Requires: libicu-devel You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
我已经检查过了,安装了blas-devel,但最新版本是0.2.8.检查使用:
yum info openblas-devel.x86_64
对于出了什么问题的任何想法?谢谢.
我遇到过同样的问题.不确定为什么RHEL的回购中缺少这些软件包,但是它们在CentOS 6.5中,所以如果你想把东西放在软件包范例中,那么以下解决方案是有效的:
原文链接:https://www.f2er.com/javaschema/281593.htmlwget http://mirror.centos.org/centos/6/os/x86_64/Packages/lapack-devel-3.2.1-4.el6.x86_64.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Packages/blas-devel-3.2.1-4.el6.x86_64.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Packages/texinfo-tex-4.13a-8.el6.x86_64.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm sudo yum localinstall *.rpm
干杯
更新:莱昂的答案更好 – 见下文.