Re: [R] How to make try to catch warnings in logistic glm

2009-06-22 Thread Dieter Menne
Fredrik Nilsson-5 wrote: > >>From an earlier post I got the impression that one could promote > warnings from a glm to errors (presumably by putting > options(warn=1)?), then try() would flag them as errors. I’ve spent > half the day trying to do this, but no luck. Do you have an explicit > sol

[R] How to make try to catch warnings in logistic glm

2009-06-22 Thread Fredrik Nilsson
Dear list, >From an earlier post I got the impression that one could promote warnings from a glm to errors (presumably by putting options(warn=1)?), then try() would flag them as errors. I’ve spent half the day trying to do this, but no luck. Do you have an explicit solution? My problems is that