[R] How to debug R program?
Vladimir Eremeev
wl at eimb.ru
Thu Dec 28 12:31:49 CET 2006
> Hi everyone:
Please, refer to the chapter 9 of the "R language definition" ($R_HOME/doc/
manual/r-lang.pdf)
The simplest way is using print() functions.
Besides the debugging functions described in the manual, you can use the very
powerful package debug, developed by Mark Bravington.
> I wrote a R program which has loops. When I run the program, it
> crashed. I would like to identify in which loop the pragram crashed, how
> can I debug ? I'm new to R, could somebody please give me a general idea
> about debugging in R.(I'm a C/C++ programmer and have general knowledge
> about program debugging.)
> Thank you!
>
> Best,
More information about the R-help
mailing list