Remove old R packages: {{ apt-get remove r-base-core }}
Update /etc/apt/sources.list with mirror:
deb http://mirrors.dotsrc.org/cran//bin/linux/debian wheezy-cran3/
Install:
apt-get install -t wheezy-cran3 r-base-core
More info here: http://cran.r-project.org/bin/linux/debian/
To fix missing gpg key, do something like for missing KEYID:
gpg --keyserver keyserver.ubuntu.com --recv-key KEYID gpg -a --export KEYID | sudo apt-key add -
Remove old R packages: {{ apt-get remove r-base-core }}
Update /etc/apt/sources.list with mirror:
deb http://mirrors.dotsrc.org/cran//bin/linux/debian squeeze-cran/
Install:
apt-get -t squeeze-cran install r-base
More info here: http://mirrors.dotsrc.org/cran/