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
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.
unCheckpoint(new = c(Sys.getenv("R_LIBS_USER"), .Library))
The new user library location. Defaults to
c(Sys.getenv("R_Libs_User"), .Library). See also