问题描述
我没有成功安装r-base的最新版本(2.15.2)。显然,R软件包Rcpp不会安装R版本2.14.1 – 为我安装的版本。
我不确定更改我的安装尝试的内容/方式/位置,如下所示。请注意,我使用的是ubuntu-12.04.1-server-i386。
目前安装的版本是R版本2.14.1(2011-12-22):
$ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-base is already the newest version.
包含版本信息无济于事:
$ sudo apt-get install r-base=2.15.1-5ubuntu1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.15.1-5ubuntu1' for 'r-base' was not found
添加到/etc/apt/sources.list
deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu quantal/
更新并安装
$ sudo apt-get update
$ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree