store.objects: Stores all local objects of the calling environment to be...

Description Usage Arguments Value

Description

Stores all local objects of the calling environment to be able to restore them later when debugging. Is used by restore.point

Usage

1
2
3
4
5
  store.objects(name = NULL, parent.num = -1,
    deep.copy = TRUE, force = FALSE,
    store.if.called.from.global = FALSE,
    envir = sys.frame(parent.num),
    dots = eval(substitute(list(...), env = parent.frame())))

Arguments

name

key under which the objects are stored, typical the name of the calling function. If name is NULL by default the name of the calling function is chosen

deep.copy

if TRUE (default) variables that are copied by reference (in the moment environments and data.tables) will be stored as deep copy. May take long for large variables but ensures that the value of the stored variable do not change

force

store even if do.store(FALSE) has been called

store.if.called.from.global

if the function is called from the global environment and store.if.called.from.global FALSE (default) does not store objects when called from the global environment but does nothing instead.

Value

returns nothing, just called for side effects



Search within the restorepoint package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.