[R] Error list and debugging R code

Berton Gunter gunter.berton at gene.com
Wed Apr 27 17:59:08 CEST 2005


I have found the tools listed by Uwe to be sufficient for my needs, but you
may also be interested in Mark Bravington's debug package.

-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box
 
 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Uwe Ligges
> Sent: Wednesday, April 27, 2005 8:00 AM
> To: Tuszynski, Jaroslaw W.
> Cc: (r-help at stat.math.ethz.ch.)
> Subject: Re: [R] Error list and debugging R code
> 
> 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
> 
> ______________________________________________
> 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