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 doesn’t fail.

 

Using try(), especially for the second case, seems a bit clunky for my
needs. As I’ve 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]]

