Blame | Last modification | View Log | Download | RSS feed
\name{lazyLoad}\alias{lazyLoad}\title{Lazy Load a Database of R Objects}\description{Lazy load a database of \R objects.}\usage{lazyLoad(filebase, envir = parent.frame(), filter)}\arguments{\item{filebase}{The file path to the database, with no extension.}\item{envir}{The environment into which objects are loaded.}\item{filter}{An optional function which when called on an object namereturns \code{TRUE} or \code{FALSE}: only objects for which this istrue will be loaded.}}\details{This is the workhorse function called by the package loader to loadthe code for a package from a database. The database consists of twobinary files, \code{filebase.rdb} (the objects) and \code{filebase.rdx}(an index).The objects are not themselves loaded into \code{envir}: ratherpromises are created that will load the object from the database onfirst access. (See \code{delay}.)}\author{Luke Tierney}\seealso{\code{\link[utils:lazyload]{makeLazyLoading}}}\keyword{internal}