I got R to update to the latest version The problem was the sources.list file. I had not fixed the sources.list file correctly, which was apparent when I opened the file using sudo nano sources.list Opening the file from the command line turns on syntax highlighting (as opposed to opening a file from within nano using ctrl-r... who thinks of these shortcuts? Ctrl-o means "save"?)
anyway... it's very important to have a space and a trailing slash... as shown below: deb http://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu precise/ When I edited that line, the update worked. Hope this helps someone. Thank you, Gene Leynes _____________________________________________ *Data Scientist* *http://www.linkedin.com/in/geneleynes * <http://goog_598053156>*http://geneorama.com/ <http://geneorama.com/%20>* On Tue, Jul 31, 2012 at 12:48 AM, Gene Leynes <gley...@gmail.com> wrote: > I just followed the instructions on > CRAN<http://cran.r-project.org/bin/linux/ubuntu/README> to install > R on an Ubuntu instance. > sudo apt-get install r-base > > Why does it install an old version of R? Can I install version 15.1? > > I changed my sources.list to be a current cran mirror. I believe that I > have entered the URL correctly because at first I had it wrong (there was a > trailing "/"), and I fixed that error. when I run > sudo apt-get install r-base > it says that I'm at the most current version, but I can see 15.1 in the > repository. > > > > sessionInfo()R version 2.14.1 (2011-12-22) > Platform: x86_64-pc-linux-gnu (64-bit) > > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=C > LC_COLLATE=C > [5] LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C > LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.14.1 > > > > > > Thank you, > Gene Leynes > _____________________________________________ > *Data Scientist* > *http://www.linkedin.com/in/geneleynes > * > <http://goog_598053156>*http://geneorama.com/ <http://geneorama.com/%20>* > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.