Saya tidak berhasil menginstal versi terbaru (2.15.2) r-base . Rupanya, paket RRcpp
tidak akan diinstal untuk R versi 2.14.1 - versi yang diinstal untuk saya.
Saya tidak yakin apa / bagaimana / di mana harus mengubah upaya instalasi saya yang muncul di bawah ini. Harap dicatat bahwa saya menggunakan ubuntu-12.04.1-server-i386.
Versi yang diinstal saat ini adalah R versi 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.
Termasuk informasi versi tidak membantu:
$ 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
Perubahan berdasarkan instruksi CRAN Ubuntu dari http://cran.r-project.org/bin/linux/ubuntu/README :
Ditambahkan ke
/etc/apt/sources.list
deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu quantal/
Perbarui dan instal
$ sudo apt-get update $ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 2.15.2-1quantal2) but it is not going to be installed Depends: r-recommended (= 2.15.2-1quantal2) but it is not going to be installed Recommends: r-base-html but it is not going to be installed E: Unable to correct problems, you have held broken packages.
R-base
ini memang versi 'terbaru', maka instal / perbarui jika tidak, lihat jawaban saya, ditautkan di bawah. Jika Anda ingin tetap mengikuti R
rilis terbaru , disarankan agar ini berasal sid
(meskipun Anda mungkin ingin berhati-hati ketika mendasarkan seluruh sistem Anda pada sid
...). stackoverflow.com/questions/1401904/…
sudo apt-get upgrade
atausudo apt-get dist-upgrade
?