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:e...@debian.org]
Enviado el: miércoles, 07 de noviembre de 2012 14:34
Para: Dirk Eddelbuettel
CC: David Ibarra Gómez; rcpp-de...@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

--
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Disclaimer: http://disclaimer.aqualogy.net/
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to