From peterhepperger at arcor.de  Thu Apr 28 15:25:08 2011
From: peterhepperger at arcor.de (peterhepperger at arcor.de)
Date: Thu, 28 Apr 2011 15:25:08 +0200
Subject: [Rd] Interrupting C++ code execution
In-Reply-To: <4DB963D0.9020701@kent.ac.uk>
References: <4DB53D47.7060903@arcor.de> <4DB963D0.9020701@kent.ac.uk>
Message-ID: <4DB96AB4.9050901@arcor.de>

Andrew,

> You may like to give CXXR a try 
> (http://www.cs.kent.ac.uk/projects/cxxr/).  In CXXR the R interpreter is 
> written in C++, and a user interrupt is handled by throwing a C++ 
> exception, so the stack is unwound in an orderly fashion, destructors 
> are invoked, etc.
Thank you for this suggestion. CXXR is a very interesting project!

For my current project, however, I aim at distributing the program to
other R users on pre-installed cluster nodes. Thus, I have no choice
with respect to the underlying R interpreter.

Best regards,
Peter



[Rd] Interrupting C++ code execution
peterhepperger at arcor.de