Re: R-alpha: autoload?

Ross Ihaka (
Sat, 29 Mar 1997 09:14:38 +1200 (NZST)

Date: Sat, 29 Mar 1997 09:14:38 +1200 (NZST)
From: Ross Ihaka <>
Message-Id: <>
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.
r-testers mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: