RE: [R] Error list and debugging R code

From: Berton Gunter <gunter.berton_at_gene.com>
Date: Thu 28 Apr 2005 - 01:59:08 EST


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.

"The business of the statistician is to catalyze the scientific learning process." - George E. P. Box    

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Uwe Ligges
> Sent: Wednesday, April 27, 2005 8:00 AM
> To: Tuszynski, Jaroslaw W.
> Cc: (r-help@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@saic.com ` \
> >
> >
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@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@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@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 Received on Thu Apr 28 02:04:58 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:27 EST