Friday, May 27, 2016

Installing R on Debian Jessie (R language, rlanguage, rlang, etc)

This gives you a list of all the R packages available:

$ apt-cache search '^r-'

This installs a basic R system:

$ sudo apt install r-recommended

run with:

$ R

More things here: 

http://www.mayin.org/ajayshah/KB/R/documents/install.html 



For latest versions, see  https://cran.r-project.org/ As part of R's policy of doing everything differently and breaking everything, it's not possible to bookmark the actual page, so you'll have to follow the Download R for Linux link.

add

deb http://cran.ma.imperial.ac.uk/bin/linux/debian jessie-cran3/
to /etc/apt/sources.list

add the gpg key

# apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480
update the packages

# apt update
# apt list --upgradable
# apt upgrade

No comments:

Post a Comment