If you ever stumbled upon upgrading your R to the latest version on Ubuntu, you may have to search a little bit to get what you want. Since some packages (RMysql for instance) may not support the earlier versions, it is always better to be up to date. Here is the
link I found which explains how to achieve this. In a nutshell:
- Edit your sources.list file (/etc/apt/sources.list) by adding the repository for the latest version ( precise below is the latest version of your Ubuntu installation):
deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ precise/
- Fetch the apt key and feed it to the apt-key with the following commands:
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update && sudo apt-get upgrade
No comments:
Post a Comment