load.locLib {reposTools}R Documentation

A function to load a local library listing

Description

If one exists, will load a local library listing (liblisting.Rda) from the specified library directory, creating an object in the user's session named 'locLibList'.

Usage

load.locLib(lib=reposToolsLibPaths()[1])

Arguments

lib The R library directory to use

Details

Will take the library directory to look at (default is .libPaths()[1]), and will load a liblisting.Rda file if one exists in that directory. This will result in an object existing in the user's session with the name 'locLibList'.

Value

TRUE if successful, FALSE otherwise. There is also the side effect that an object named 'locLibList' is loaded in the user's session if TRUE.

Author(s)

Jeff Gentry

See Also

closeLocLib,save.locLib,syncLocalLibList, reposToolsLibPaths

Examples

   lib <- paste(.find.package("reposTools"),"data/",sep="/")
   load.locLib(lib)

[Package reposTools version 1.8.0 Index]