Skip to content
Prev 24879 / 398502 Next

installing R on debian linux

On Nov 01, Michael L Friendly wrote:
If you're running Woody, I'd use the packages on CRAN, since they're
more up-to-date than the ones shipped in woody; with sarge or sid, use
the packages in unstable (although you can get them from CRAN too).

To use the CRAN packages, add this to your sources.list:

deb http://cran.r-project.org/bin/linux/debian woody main

For most uses, I'd recommend installing r-recommended and all of its
dependencies (apt-get install r-recommended).  If you think you'll
need to build other things from CRAN (you probably won't), install
r-base-dev as well.

Note that for anything other than Intel, you'll have to build it
yourself or use the autobuilt packages in sid; non-i386 Debian stuff
isn't at CRAN.

(Dirk may have some extra advice.)


Chris