Learn R Programming

compositions (version 1.40-2)

tryDebugger: Empirical variograms for compositions

Description

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

Usage

tryDebugger(dump = last.dump)

Arguments

dump

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

Value

Nothing.

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

debugger

Examples

Run this code
# NOT RUN {
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