That is an Ubuntu issue, not an R one. - Peter D.
> On 08 Aug 2015, at 06:31 , boredstoog via R-help <r-help@r-project.org> wrote: > > > 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. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.