Re: [R] building from source after installing binary package

From: Ramon Diaz-Uriarte <>
Date: Sat 07 May 2005 - 01:00:30 EST

On Friday 06 May 2005 09:48, Prof Brian Ripley wrote:
> On Fri, 6 May 2005, Uwe Ligges wrote:
> > Diaz.Ramon wrote:
> >> Dear All,
> >>
> >> I've got into the habit of installing R from the precompiled Debian
> >> binaries, including many of the packages from the r-cran-* Debian
> >> packages, and later building from source (e.g., to link against Goto's
> >> BLAS, or to build patched versions, etc). I install the newly built R to
> >> the very same place (/usr/lib/R). This allows me to build and update R
> >> when I wish, AND provides the ease of quickly updating many packages.
> >>
> >> Things have always worked fine, but after a few funny problems (which
> >> could be unrelated to the process itself) I've started wondering if this
> >> is a rather silly thing to do, and if I should keep my own build
> >> separate from the Debian stuff. Any advice would be much appreciated.
> >
> > Yes, simply install to another directory, e.g. by telling configure:
> >
> > ./configure --prefix=/I/want/to/have/R/installed/here
> I don't think that is the point: Ramon must have done that as the default
> installation place is /usr/local/lib/R.

Yes, I did change the --prefix because Debian installs to /usr/lib.

> I think this is a Debian-specific question (there is a R-debian list) and
> the point may be to make use of the binary Debian packages. I would

Yes, that is correct (I guess I was not being very clear... too late last night). I'll ask in the debian list; I asked here just in case people with other GNU/Linux distributions did (or did not) do similar things.

> advocate installing R from the sources into /usr/local, and having
> separate directory trees both for packages you install and for Debian
> packages. Then you can manipulate which packages are seen via R_LIBS.

Thanks. I'll try that.



Ramón Díaz-Uriarte
Bioinformatics Unit
Centro Nacional de Investigaciones Oncológicas (CNIO)
(Spanish National Cancer Center)
Melchor Fernández Almagro, 3
28029 Madrid (Spain)
Fax: +-34-91-224-6972
Phone: +-34-91-224-6900
PGP KeyID: 0xE89B3462

**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. 
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sat May 07 01:23:07 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:37 EST