[Rcpp-devel] [ANN] RInside 0.2.9

David Ibarra Gómez dibarra at aqualogy.net
Wed Nov 7 15:46:52 CET 2012

mmmm, I think that sooner or later I will try the code that abruptly ends the proccess that called RInside with the new "NT" routine and see what happends... I was allready using try-catch but the program ended abruptly anyway...

Thank you

David Ibarra Gomez
Jefe de Proyectos

-----Mensaje original-----
De: Dirk Eddelbuettel [mailto:edd at debian.org]
Enviado el: miércoles, 07 de noviembre de 2012 14:34
Para: Dirk Eddelbuettel
CC: David Ibarra Gómez; rcpp-devel at r-forge.wu-wien.ac.at
Asunto: RE: [Rcpp-devel] [ANN] RInside 0.2.9

On 6 November 2012 at 05:21, Dirk Eddelbuettel wrote:
| On 6 November 2012 at 08:30, David Ibarra Gómez wrote:
| |         it's nice to see how RInside gets even better. I saw the example of the "R.parseEvalQNT(cmd)". I have a question. Is it supposed to work if the cmd command it's correct but throws an exception (for example the routine crashes because has some NA data)?.
| If you have code that can throw you cannot use the no-throw variant as
| you would end up with undefined behaviour.

Sorry, I worded that pretty much exactly upside down, so let me try again:

  If you have code that does not _catch_ possible exceptions _thrown by
  RInside on error_ you have to use the no-throw variant.


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

Disclaimer: http://disclaimer.aqualogy.net/

More information about the Rcpp-devel mailing list