Re: R-alpha: autoload?

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Sat, 29 Mar 1997 09:14:38 +1200 (NZST)


Date: Sat, 29 Mar 1997 09:14:38 +1200 (NZST)
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Message-Id: <199703282114.JAA14160@stat1.stat.auckland.ac.nz>
To: Kurt.Hornik@ci.tuwien.ac.at, r-testers@stat.math.ethz.ch
Subject: Re:  R-alpha: autoload?

I had thought about something like autoload before.  My thought was to
have a new data type called "autoload".  When we evaluate a symbol
which is bound to an autoload object we redefine the symbol by either
"source"-ing or "load"-ing the object refered to.

We could also provide an option to "unload" autoload objects when
memory is running short.

We could use this to avoid loading up much of the base library as well
as for system data sets.  I have been puuting this off because I want
to clean up library loading.  I want to have them added as new
components to the search list (rather than just sourced as at
present).  The problem is that this could potentially slow things down
quite a lot unless we have a way of hashing environments.

Anyway it's on the list for 0.5X.
	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers 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-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-