> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 09, 2004 4:59 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [R] error() and C++ destructors
>
>
> And maybe I stressed Erik a bit, because he corrected himself
> some minutes later (
3:35
To: '[EMAIL PROTECTED]'
Subject: RE: [R] error() and C++ destructors
I am sending this reply on behalf of Erik (who is not a member of this
list).
- Lennart
-Original Message-
From: Källen, Erik
Sent: 9 mars 2004 11:37
To: Borgman, Lennart
Subject: RE: [R] error() and C+
I am sending this reply on behalf of Erik (who is not a member of this
list).
- Lennart
-Original Message-
From: Källen, Erik
Sent: 9 mars 2004 11:37
To: Borgman, Lennart
Subject: RE: [R] error() and C++ destructors
I would do something like:
class error_exception {
public
Hi,
I am writing C++ functions that are to be called via .Call() interface.
I'd been using error() (from R.h) to return to R if there is an error,
but then I realized that this might be not safe as supposedly error()
doesn't throw an exception and therefore some destructors do not get
called and