Re: [Rd] Bug in warning() for condition objects (PR#9274)

2006-10-04 Thread Luke Tierney
Thanks. I think your analysis is probably correct. Will look into this and fix shortly. Best, luke On Wed, 4 Oct 2006, [EMAIL PROTECTED] wrote: > Full_Name: David Hinds > Version: 2.4.0 > OS: Windows XP > Submission from: (NULL) (64.168.232.238) > > > A (maybe naive) use of tryCatch to trap e

[Rd] Bug in warning() for condition objects (PR#9274)

2006-10-03 Thread dhinds
Full_Name: David Hinds Version: 2.4.0 OS: Windows XP Submission from: (NULL) (64.168.232.238) A (maybe naive) use of tryCatch to trap errors and report as warnings does not work, i.e.: x <- tryCatch(lm(xyzzy), error=warning) In src/library/base/R/stop.R, the warning() function contains the fo