This help topic is for R version 2.0.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/lazyload.html
lazyLoad {base}R Documentation

Lazy Load a Database of R Objects

Description

Lazy load a database of R objects.

Usage

lazyLoad(filebase, envir = parent.frame(), filter)

Arguments

filebase

The file path to the database, with no extension.

envir

The environment into which objects are loaded.

filter

An optional function which when called on an object name returns TRUE or FALSE: only objects for which this is true will be loaded.

Details

This 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 delay.)

Author(s)

Luke Tierney

See Also

makeLazyLoading


[Package base version 2.0.0 ]