Internal functions to lazy load a database of R objects.
The file path to the database, with no extension.
The environment into which objects are loaded.
An optional function which when called on a a character vector of object names returns a logical vector: only objects for which this is true will be loaded.
Function of one argument, an environment.
These are internal functions for use only by R itself.
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
promises are created that will load the object from the database on
first access. (See
lazyLoadDBexec contains the core implementation
and is also used by the mechanism for loading processed help file
We want your feedback!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.