[R] stopping stepAIC (MASS package)

2009-02-17 Thread Peter Jepsen
Dear R-listers, I am building a prediction model starting with many, many variables. I use the 'stepAIC' procedure in the MASS package, and the model building process takes several hours to complete. At the very end, I am occasionally confronted with warnings like this one: Warning messages: 1: I

Re: [R] stopping stepAIC (MASS package)

2009-02-17 Thread Ben Bolker
Peter Jepsen DCE.AU.DK> writes: > [snip] > ... I would save valuable time if > the procedure would stop automatically when it encounters any anomaly > that causes it to warn me. Is this possible? And if so, how? > Maybe options(warn=2) will do what you want. Ben Bolker __