Mao Jianfeng <jianfeng.mao <at> gmail.com> writes: > > Dear R-listers, > > I am new to R in linux. And, I am now confused by updating R in Ubuntu > 9.10 linux system. I would like to seek some advice on that problem. > > I have done what are listed in CRAN linux installation guide: > > 1. add an entry like "deb > http://cran.cnr.berkeley.edu/bin/linux/ubuntu karmic/" in > /etc/apt/sources.list file in my computer. > > 2. To install the complete R system, use > > sudo apt-get update > sudo apt-get install r-base > > I can correctly install R 10.0 monthes ago. But now I do know how to > update R 10.0 to a higher R version.
Hi Mao, The beauty of installing R (and indeed most Linux software) this way is that all software upgrades are taken care of via a unified interface. So, if you upgrade your system, R should be upgraded automatically. sudo apt-get update sudo apt-get upgrade should take care of it. However, if you want to check a few things using the graphical interface, open Synaptic Package Manager (System > Administration menu). Choose Settings > Repositories, and select the 'Third-Party Software' tab in the 'Software Sources' dialogue. Check that your Cran repository is still listed and the checkbox is ticked. If not, you will have to add it again. Exit from the 'Software Sources' dialogue, and click 'Reload', 'Mark all Upgrades' then 'Apply' on the main menubar. These last few steps are the equivalent of the commands above. You can also mark individual software packages for upgrade if you do not wish to upgrade your whole system. Finally, note that R-2.11.1 is only days away. Michael Bibo Queensland Health ______________________________________________ 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.