我在centos上安装rmr2时遇到问题,yum命令默认安装R版本2.15,而rmr2依赖于Rcpp库,它只与R 3.0或更高版本兼容。这是我的操作系统版本:
$ uname -or
2.6.18-348.16.1.el5 GNU/Linux
$ lsb_release -irc
Distributor ID: CentOS
Release: 5.9
Codename: Final
install.packages('Rcpp')返回ERROR: this R is version 2.15.2, package 'Rcpp' requires R >= 3.0.0
。我无法在下载page
yum install R
返回:
Setting up Install Process
Package R-2.15.2-1.el5.x86_64 already installed and latest version
Nothing to do