Skip to content
Prev 6268 / 63421 Next

New slimmer R

On Tue, 9 Oct 2001, Jonathan Rougier wrote:

            
Not really.  If base remains a package, then base.so would have always to
be loaded, and no reduction would result.  Also optim() etc are
implemented via .Internal, and at present .Internal functions (and
primitives) are determined by a compiled-in table.  So the net result
would a lot of work, slower loading and probably a net increase in the
size of the running image.

It seems to me that slimming-down will only work (well) once we can split
base into a number of sub-packages which are auto-loaded as needed (not
necessarily by the autoload mechanism), and namespaces will be useful when
going along that route.   Most of the space we could save is R code, not
compiled C code.   I introduced modules to save much of the latter.

Brian