Re: R-beta: autoloading a required library

Thomas Lumley (thomas@biostat.washington.edu)
Mon, 17 Nov 1997 17:36:37 -0800 (PST)


Date: Mon, 17 Nov 1997 17:36:37 -0800 (PST)
From: Thomas Lumley <thomas@biostat.washington.edu>
To: Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
Subject: Re: R-beta: autoloading a required library
In-Reply-To: <Pine.LNX.3.96.971117230138.5753C-100000@alpha.fuzzy.at>

On Mon, 17 Nov 1997, Albrecht Gebhardt wrote:

> Maybe this is the reason why "mva.so" did not get loaded. Does R forget to
> clear ".Dyn.libs" on shutdown?

Umm, yes. I'd forgotten that particular bug.  The quick fix is to add

if (exists(".Dyn.libs")) .Dyn.libs<-NULL

to the startup file

The solution was to put .Dyn.libs in the System environment instead of the
Global environment so it doesn't get saved.  I believe this is fixed in
the next version of R, due out roughly now.

	-thomas


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---