[R-sig-Debian] Deb-4.0 Etch and sources.list for R

Dirk Eddelbuettel edd at debian.org
Mon Apr 28 02:53:21 CEST 2008


There can always be issues with individual mirrors, so it helps to see if you
can access the url you are adding to /etc/apt/sources.list in the normal way
with a webbrowser etc.

For what it is worth, the following does work for me:

   edd at ron:~> tail -2 /etc/apt/sources.list
   # CRAN
   deb http://cran.us.r-project.org/bin/linux/debian stable/
   edd at ron:~> 

and you may want to s/us/uk/ there. Also note the final slash, IIRC it is

Then do 

   sudo apt-get update

and follow up with 

   apt-cache policy r-base-core

which should show you the version from CRAN as well as the regular Debian
versions.  An

   apt-get dist-upgrade

would then upgrade R if you already have installed; and you can always do

   apt-get install r-base

to add it to an R-less system.

Hope this helps, Dirk

Three out of two people have difficulties with fractions.

More information about the R-SIG-Debian mailing list