Install R Statistical Package in Ubuntu 13.04, 12.04, 12.10, 10.04

Last updated: August 26, 2013

If you have problem installing R statistical package via the official document. Here’s easy guide with pictures shows you how to install R package in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04.

R Package is available in Ubuntu Software Center by default, but it’s old. This tutorial will install the latest verson – so far it is 3.0.1 – in Ubuntu via the via official repository.

Add R Statistical Package Repository:

Search for and open Software & Updates from unity dash home.

software&updates

Navigate to Other Software tab, click Add and paste below line in pop-up window.

For Ubuntu 12.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu precise/

For Ubuntu 13.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu raring/

For Ubuntu 12.10: deb http://cran.stat.ucla.edu/bin/linux/ubuntu quantal/

For Ubuntu 10.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu lucid/

You can change “cran.stat.ucla.edu” to other mirrors.

Install R Statistical Package:

After added the repository, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to get the key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

Finally, you can use Synaptic Package Manager (install it from Ubuntu Software Center) to install R Package.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

One response to Install R Statistical Package in Ubuntu 13.04, 12.04, 12.10, 10.04

  1. It’s very helpfull to install.