restorepoint: Debugging with restore points

Share:

Debugging with restore points instead of break points. A restore point stores all local variables when called inside a function. The stored values can later be retrieved and evaluated in a modified R console that replicates the function's environment. To debug step by step, one can simply copy & paste the function body from the R script. Particularly convenient in combination with RStudio.

Author
Sebastian Kranz
Date of publication
2012-12-20 07:22:05
Maintainer
Sebastian Kranz <sebastian.kranz@uni-ulm.de>
License
GPL (>= 2)
Version
0.1

View on R-Forge

Man pages

calls.to.trace
Transforms a list returned by sys.calls into a vector of...
can.parse.multi.line
Checks whether for the installed R version the function...
copy.into.env
Copies all members of a list or environment into an...
env.console
Emulates an R console that evaluates expressions in the...
eval.with.error.trace
Evals the expression such that if an error is encountered a...
get.restore.point.options
Get global options for restore points
get.stored.dots
Returns the ellipsis (...) that has been stored in...
get.stored.object.list
Retrieves the list of all restore.points with the stored...
is.storing
Check whether objects currently are stored or not
restore.objects
Restore stored objects by copying them into the specified...
restore.point
Sets a restore point
set.restore.point.options
Set global options for restore points
set.storing
Set whether objects shall be stored or not
store.objects
Stores all local objects of the calling environment to be...

Files in this package

restorepoint
restorepoint/R
restorepoint/R/restorepoint.R
restorepoint/NAMESPACE
restorepoint/inst
restorepoint/inst/doc
restorepoint/inst/doc/Vignette_restorepoint.pdf
restorepoint/inst/doc/Vignette_restorepoint.Rnw
restorepoint/DESCRIPTION
restorepoint/man
restorepoint/man/copy.into.env.Rd
restorepoint/man/restore.point.Rd
restorepoint/man/get.stored.dots.Rd
restorepoint/man/set.storing.Rd
restorepoint/man/set.restore.point.options.Rd
restorepoint/man/is.storing.Rd
restorepoint/man/get.stored.object.list.Rd
restorepoint/man/calls.to.trace.Rd
restorepoint/man/eval.with.error.trace.Rd
restorepoint/man/env.console.Rd
restorepoint/man/store.objects.Rd
restorepoint/man/get.restore.point.options.Rd
restorepoint/man/restore.objects.Rd
restorepoint/man/can.parse.multi.line.Rd
restorepoint/examples
restorepoint/examples/restorepoint_examples.R