Skip to content
Prev 279543 / 398502 Next

To Try or to TryCatch, I have tried to long

Thank for the links.  I reread one I found yesterday about changing the options parameter to options(warn = 2) and that allows the try() function to see a warning the same way as an error so problem solved using the existing code.  

Cheers, 
 Josh

-----Original Message-----
From: William Dunlap [mailto:wdunlap at tibco.com] 
Sent: Tuesday, December 06, 2011 11:42 AM
To: gleynes+r at gmail.com; ROLL Josh F
Cc: r-help at r-project.org
Subject: RE: [R] To Try or to TryCatch, I have tried to long

Or, Google for 'R catching warnings' and third entry is the excellent
  http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com