Debugging
Theory
messagejust a generic notification as messagewarningsomething could go wrongerrorfatal error that stops executionconditiongeneric concept indicating something unexpected happened
Functions
tracebackprints out the function call stack tracedebugflags function for debug modebrowsersuspends execution and starts function in debugtraceallows insert debugging code into a functionrecoverallows to modify error behavior so function stact trace can be browsed
Examples
traceback
> mean(x)
Error in mean(x) : object 'x' not found
> traceback()
1: mean(x)debug
And you continue to debugging window.
recover
Last updated
Was this helpful?