lazyLoad(filebase, envir = parent.frame(), filter)
lazyLoadDBexec(filebase, fun, filter)
The function lazyLoad
is the workhorse function called by the
package loader to load the code for a package from a database. The
database consists of two binary files, filebase.rdb (the
objects) and filebase.rdx (an index).
The objects are not themselves loaded into envir
: rather
promises are created that will load the object from the database on
first access. (See delayedAssign
.)
The function lazyLoadDBexec
contains the core implementation
and is also used by the mechanism for loading processed help file
data.