[R] Error list and debugging R code

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Apr 27 16:59:44 CEST 2005


Tuszynski, Jaroslaw W. wrote:

> Hi,
> 
> I am trying to debug my code and looking for any tool to help me out with
> it. My main problem is with the error messages I can not figure out where
> they come from (what function produced them) and what do they mean. Is there
> such a think as list of error messages produced by R and standard R
> packages,  and what do they mean? Or any tool to extract information which
> function produced the run-time error (a call stack would be great)? I looked
> into debug and trace tools but you seem to have to know where the problem is
> to use them.


See any good book about R programming, the manuals, R News, and the 
following help pages:
?traceback
?debug
?recover
?browser
and other relevant pages these pages are pointing to.

Uwe Ligges


> Jarek
> =====================================\====                 
>  Jarek Tuszynski, PhD.                               o / \ 
>  Science Applications International Corporation  <\__,|  
>  (703) 676-4192                        ">  \
>  Jaroslaw.W.Tuszynski at saic.com                   `    \
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list