debug(fun) undebug(fun)
fun
| any interpreted R function. |
n or next.
You can see the values of variables by typing their names.
Typing c or cont causes the debugger to continue to the
end of the function.
You can debug new functions before you step in to them from inside
the debugger.
Typing Q quits the current execution and returns you to the
toplevel prompt.
If you have variables with names that are identical to the controls
(eg. c or n ) then you need to use print(c) and
print(n) to evaluate them.browser, traceback to see the stack after
an Error: ... message.