[Rd] Customizable R_HOME at build time

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Fri 11 Mar 2005 - 21:47:14 GMT

Currently there is no way to specify R_HOME at build time - it is hard-coded to ${prefix}/lib/R. This is slightly inconvenient for special setups (e.g. installing different versions of R in parallel). I was thinking of something like:

./configure --prefix=/usr --enable-custom-R-home=/usr/share/R-2.0

which will use /usr/share/R-2.0 as R_HOME - otherwise it would use /usr/lib/R

The following patch (against R-devel) implements that functionality, allowing more flexible builds/installs. As a side-effect it finally prints R_HOME in the configure summary.

Please let me know what you think ... (and yes, I know you don't have to run make install so one could build it in target place, but I think the above is more clean ..).



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Mar 14 10:34:06 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:26:28 GMT