[R] R Installation in Ubuntu 5.04 [Hoardy Hedgehog]

M Senthil Kumar senthil at www.cdfd.org.in
Fri Mar 10 20:21:02 CET 2006


On Fri, 10 Mar 2006, Dirk Eddelbuettel wrote:
|
|On 10 March 2006 at 09:19, M Senthil Kumar wrote:
|| On Fri, 10 Mar 2006, Andris Jankevics wrote:
|| |You have to install Xserver (x.org or XFree86) devel packages before
|| |compiling.
||
|| Although, I don't remember which package i had installed, I remember
|| installing some X developer packages using apt-get earlier when ./config
|| itself had complained about it. But the problem that i had written about
|| earlier persists even after that during the 'make' step.
|
|i)   Ubuntu is a Debian derivative.
|
|ii)  Debian (+ thus Ubuntu) had binary ready-to-run packages for R since 1997.
|     Why not use them?
|
|iii) Even if you don't run the current release, there is a backport of
|     the current R release available via apt-get through CRAN and its
|     mirrors as explained in the R FAQ
|
|iv)  If you still insist on locally building the package (for which one
|     may have a number of reasons) you are still _much_ better off doing
|     a rebuild of the Debian package, so consider learning about 'source'
|     entries for apt, and 'apt-get source r-base' which can download
|     and build R for you in one command.
|
|v)   The build dependencies you are struggling with are encoded in the
|     Build-Depends: field of the file debian/control.  You could use
|     them.  For record, the current version says:
|
|Build-Depends: refblas3-dev | atlas3-base-dev, tcl8.4-dev, tk8.4-dev,
|bison, groff-base, libncurses5-dev, libreadline5-dev, debhelper (>=
|3.0.0), texi2html, texinfo (>= 4.1-2), libbz2-dev, libpcre3-dev,
|tetex-bin, tetex-extra, xpdf-reader, zlib1g-dev, libpng12-dev,
|libjpeg62-dev, libx11-dev, libxt-dev, x-dev
|
|     but note that these are Debian package names which may need a tweak
|on Ubuntu.  If you use 'dpkg-buildpackage' it will check the
|Build-Depends
|     for you long before configure may or may not fail.
|
|Hope this helps, Dirk
|
|--
|Hell, there are no rules here - we're trying to accomplish something.
|                                                  -- Thomas A. Edison
|

Hi,

Thanks for your help, following your advice i have installed R using
apt-get successfully.

Sorry for bothering everyone without checking CRAN in the first place.

Regards,

Senthil




More information about the R-help mailing list