R-beta: autoloading a required library

Thomas Lumley thomas at biostat.washington.edu
Tue Nov 18 02:36:37 CET 1997


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 at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---



More information about the R-help mailing list