Problem with Project R installation
Add the following line to your /etc/apt/sources.list
file. It doesn't matter where exactly, but end of the file is ok.
deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ #enabled-manually
If you insist on doing this in a terminal, do the following:
sudo su
echo "deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ #enabled-manually" >> /etc/apt/sources.list
exit
This will launch a super user session, and append the line to the sources.list file, after which we exit from the super user session.
Then, per the R installation instructions, one must add the public key of Michael Rutter to secure apt. Execute the following in a terminal:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
Then simply do sudo apt-get update && sudo apt-get install r-base r-base-dev
.
Happy R-ing!