Interrupt the execution of an expression and allow the inspection of the environment where browser was called from.
browser(text = "", condition = NULL, expr = TRUE, skipCalls = 0L)
| Parameter | Description |
|---|---|
text |
a text string that can be retrieved once the browser is invoked. |
condition |
a condition that can be retrieved once the browser is invoked. |
expr |
An expression, which if it evaluates to TRUE the debugger will invoked, otherwise control is returned directly. |
skipCalls |
how many previous calls to skip when reporting the calling context. |