Skip to content

Cant upgrade R in ubuntu 14.04

2 messages · boredstoog, Peter Dalgaard

#
I am trying to install R programming language and able to install rbase
using this code without adding repository in *source.list*

sudo apt-get install r-base

After that i tried to upgrade it using this code

sudo add-apt-repository ?deb
http://star-www.st-andrews.ac.uk/cran/bin/linux/ubuntu/trusty/?
sudo apt-get update
sudo apt-get upgrade

But when i tried the first code

sudo add-apt-repository ?deb
http://star-www.st-andrews.ac.uk/cran/bin/linux/ubuntu/trusty/?

its giving this error

Error: need a single repository as argument





--
View this message in context: http://r.789695.n4.nabble.com/Cant-upgrade-R-in-ubuntu-14-04-tp4710885.html
Sent from the R help mailing list archive at Nabble.com.
#
That is an Ubuntu issue, not an R one.

- Peter D.