Re: [Rd] Bug: broken exception handling in S4 methods

2010-07-21 Thread John Chambers
The problem in this example is (plausibly) that the argument evaluation code in method selection itself uses an internal C-level version of try(), overriding the user's setting. If this is the bug, I'll have to defer to more expert advice on whether, and if so how, the code can adjust for the

[Rd] Bug: broken exception handling in S4 methods

2010-07-21 Thread Sklyar, Oleg (London)
Hi all: we have noticed for quite a while that certain errors cannot be handled by R try, tryCatch etc blocks, but it was fairly difficult to understand what were the conditions for this incorrect behaviour. Finally I stabbed across a very understandable case, which is outlined in the (runnable) e