From jel+r at cs.uni-magdeburg.de  Sat Feb 20 07:02:27 2010
From: jel+r at cs.uni-magdeburg.de (Jens Elkner)
Date: Sat, 20 Feb 2010 07:02:27 +0100
Subject: [Rd] R_LIBS_USER bugs
In-Reply-To: <4B7C1000.2050901@userprimary.net>
References: <20100216183156.GA8582@trex.cs.uni-magdeburg.de>
	<4B7C1000.2050901@userprimary.net>
Message-ID: <20100220060227.GA16852@trex.cs.uni-magdeburg.de>

On Wed, Feb 17, 2010 at 07:49:20AM -0800, Seth Falcon wrote:
Hi,
> 
> On 2/16/10 10:31 AM, Jens Elkner wrote:
> > Having currently a big problem with R 2.10.1 vanilla (Solaris):
> > 
> > As soon as the R_LIBS_USER env var gets bigger than 1023 chars R
> > completely ignores it and uses the default:

BTW: Sometimes even more than 1000 chars cause an 'overflow' ...

> I guess the first question is, why do need such a long list of library
> directories?

E.g. for a clean/uncluttered build system. Distributed filesystem for
several hundred students is another use case ...
  
> >> Sys.getenv('R_LIBS_USER');
> >                                           R_LIBS_USER 
> > "${R_LIBS_USER-~/R/i386-pc-solaris2.11-library/2.10}" 
> 
> I see the same thing with R-devel on OS X.  I can set R_LIBS_USER from
> within R using Sys.setenv to a value longer than 1024 and retrieve it
> again.  But if I have such a value in my shell, it gets overwritten.

Strange and buggy IMHO ...

Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768



[Rd] R_LIBS_USER bugs
Jens Elkner