[R] building from source after installing binary package

Ramon Diaz-Uriarte rdiaz at cnio.es
Fri May 6 17:00:30 CEST 2005


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.

Best,

R.
-- 
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

http://ligarto.org/rdiaz
PGP KeyID: 0xE89B3462
(http://ligarto.org/rdiaz/0xE89B3462.asc)




**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.




More information about the R-help mailing list