[Rd] R --vanilla for install/remove/shlib(Re: R 2.8->2.9 change that breaks some upgrade scenarios)
hintak_leung at yahoo.co.uk
Thu Jul 30 10:59:01 CEST 2009
--- On Thu, 30/7/09, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> I'm not sure this addresses all the problems that your
> tried to fix,
> but in any case, your patch re-installing the --vanilla
> unconditionally (without the .libPaths() detection) was
But I think .libPaths should not be _implicitly_ user-/site- overridded - afterall, non-standard locations are already catered for with the -l option (which presumbably does the same thing as declaring R_LIBS, just explicitly).
This is analogous to installing system libraries and run-time relocation - while people do install binaries and libraries in non-standard locations and customize their $PATH and $LD_LIBRARY_PATH to reflect that either at the user- or site- level, it would be quite strange to allow ./configure or other equivalent software building tools to peek at the first part of PATH or LD_LIBRARY_PATH and put executables in the former and libraries in the latter... That's almost anarchy :-).
More information about the R-devel