Monday, August 26, 2013

Installing R and R Studio on Ubuntu 13.04 "Raring Ringtail"

Using the mirror at UCLA:

sudo add-apt-repository "deb raring/"

Installing the gpg key for R packages

gpg --keyserver --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -

sudo apt-get update

Installing R and the libjpeg62 library needed by R Studio

sudo apt-get install r-base libjpeg62

Getting the pre-built deb package and installing it:

sudo dpkg -i rstudio-0.97.551-i386.deb


  1. Thanks for sharing this. I was stuck on installing the DEB file from the RStudio website but your steps worked perfectly!

  2. I'm using Linux Mint and I get this error:"Package libjpeg62 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source"