Learn R Programming

checkpoint (version 0.4.0)

unCheckpoint: Undo the effect of checkpoint by resetting .libPath to user library location.

Description

This is an experimental solution to the situation where a user no longer wants to work in the checkpointed environment. The function resets .libPaths to point two libraries defined by the environment variable R_Libs_User and the R variable .Library.

Note that this does not undo any of the other side-effects of checkpoint(). Specifically, all loaded packages remain loaded, and the value of getOption("repos") remains unchanged.

Usage

unCheckpoint(new = c(Sys.getenv("R_LIBS_USER"), .Library))

Arguments

new

The new user library location. Defaults to c(Sys.getenv("R_Libs_User"), .Library). See also .libPaths()

See Also

Other checkpoint functions: checkpointArchives, checkpointRemove, checkpoint, getAccessDate, getValidSnapshots, mranUrl, setSnapshot