[R] Determining cause of error?

Henrik Bengtsson hb at stat.berkeley.edu
Thu Aug 14 06:37:43 CEST 2008


See ?traceback

/Henrik

On Wed, Aug 13, 2008 at 7:33 PM,  <rkevinburton at charter.net> wrote:
> This is both a specific question and a general one. First, I am running 'fitdistr' from library(MASS) and I get the following:
>
> Error in fitdistr(templist, "weibull") : optimization failed
>
> What is the cause of the error? How can I tell? Can I just catch this error, report it and move to the next set of data (eat the exception)?
>
> Thank you.
>
> Kevin
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list