Re: [R] Mysteriously vanishing LD_LIBRARY_PATH

2009-07-09 Thread Patrick Connolly
On Wed, 08-Jul-2009 at 09:40PM -0500, Marc Schwartz wrote: [] > When I was using Fedora, several years ago I started to add any > paths that I needed for LD_LIBRARY_PATH into /etc/ld.so.conf. Then > run 'sudo ldconfig' to update the configuration. Since I don't have root access to the CentOS

Re: [R] Mysteriously vanishing LD_LIBRARY_PATH

2009-07-08 Thread p_connolly
Quoting Godmar Back : R respects LD_LIBRARY_PATH, see /usr/lib/R/etc/ldpaths where it prepends its own path to any value in the environment when R is invoked: if test -z "${LD_LIBRARY_PATH}"; then LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}" else LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${LD_LIBRARY

Re: [R] Mysteriously vanishing LD_LIBRARY_PATH

2009-07-08 Thread Marc Schwartz
On Jul 8, 2009, at 8:45 PM, p_conno...@slingshot.co.nz wrote: Using R-2.8.0 and R-2.8.1, I get behaviour like this: R version 2.8.0 (2008-10-20) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 [] Sys.getenv("LD_LIBRARY_PATH") LD_LIBRARY_PATH "/

Re: [R] Mysteriously vanishing LD_LIBRARY_PATH

2009-07-08 Thread Godmar Back
R respects LD_LIBRARY_PATH, see /usr/lib/R/etc/ldpaths where it prepends its own path to any value in the environment when R is invoked: if test -z "${LD_LIBRARY_PATH}"; then LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}" else LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}" fi export LD_LIBR

[R] Mysteriously vanishing LD_LIBRARY_PATH

2009-07-08 Thread p_connolly
Using R-2.8.0 and R-2.8.1, I get behaviour like this: R version 2.8.0 (2008-10-20) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 [] > Sys.getenv("LD_LIBRARY_PATH") LD