poniedziałek, 23 lipca 2012

Installing latest R version under Ubuntu

Ubuntu does not come with the recent R version. Below is the solution. Mind that you can choose different cran mirror. I use wroclaw/poland cran mirror to do this. My Ubuntu version is 11.10 -> oneiric. Keep in mind that. For 12.04 you should use -> precise
sudo apt-get install python-software-properties
sudo add-apt-repository "http://r.meteo.uni.wroc.pl/bin/linux/ubuntu oneiric/"
sudo apt-get update
You will get: W: GPG error: http://r.meteo.uni.wroc.pl oneiric/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9
sudo apt-get install r-base-dev 
And we are done.

Brak komentarzy:

Prześlij komentarz