Learn R Programming

compositions (version 2.0-4)

tryDebugger: Empirical variograms for compositions

Description

An R-debugger that also works with errors in parameters.

Usage

tryDebugger(dump = last.dump)

Value

Nothing.

Arguments

dump

An R dump object created by 'dump.frames'.

Author

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

Details

Works like debugger, with the small exception that it also works in situations of nasty errors, like recursive parameter evaluation, missing parameters, and additional errors in arguments.

See Also

Examples

Run this code
if (FALSE) {
f <- function(x,y=y) {y}
f(1)
tryDebugger() # works
debugger() # Does not allow to browse anything
}

Run the code above in your browser using DataLab