Hi,
What is the best general strategy to prevent returned errors from
interrupting whatever it is I am running? Only by using options()?
This is a problem for me in 2 particular cases:
(i) An error breaking my loops.
(ii) I would like to run some regressions where it
automatically will try a specified number of increasingly robust options
until the regression doesnt fail.
Using try(), especially for the second case, seems a bit clunky for my
needs. As Ive never really automated the handling of my errors I was
wondering if there is perhaps a bit of simple wisdom or pointers in the
right direction on the matter.
Thanks,
Quin
--
Checked by AVG Free Edition.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.