Skip to content

Instantly share code, notes, and snippets.

@DannyArends
Created February 3, 2012 09:22
Show Gist options
  • Select an option

  • Save DannyArends/1729221 to your computer and use it in GitHub Desktop.

Select an option

Save DannyArends/1729221 to your computer and use it in GitHub Desktop.
Install the latest R version on Debian

Install R on Debian

Add the following debian source provider to /etc/apt/sources.list

    deb-src http://cran.r-project.org/bin/linux/debian squeeze-cran/

Download the KEY from Johannes Ranke (CRAN Debian archive) jranke@uni-bremen.de to be able to use SECURE APT

    gpg --keyserver subkeys.pgp.net --recv-key 381BA480
    gpg -a --export 381BA480 > jranke_cran.asc
    apt-key add jranke_cran.asc

Then update the list of available packages, and install R2.14.1

    apt-get update
    apt-get upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment