[R] Debugging in R

Charles Sugnet sugnet at soe.ucsc.edu
Wed Feb 12 20:12:03 CET 2003


Hello *,

Is it possible in R to set breakpoints and conditional breakpoints in the
browser mode? I've discovered "debug()" to debug functions, but I find
stepping throw loops or having to go back and put in "browse()" calls a
little tedious. I would really like to be able to set a breakpoint while
in the browser mode. Can anyone tell me how to do this? Any other pointers
to useful debugging tutorials/howtos in R would be greatly appreciated.

Thanks,
-Chuck Sugnet
http://www.cse.ucsc.edu/~sugnet/




More information about the R-help mailing list