[R] R-Embedding and error messages

Jorge W. Cardoso cardoso at montevideo.com.uy
Wed Aug 20 16:53:43 CEST 2008


I'm writing a C++ application using R-embedding to do some
forecast process.

I also use R_tryEval instead of R_Eval to run my R-script,
so that in case of error I know exactly in which line number
was the last error.

In particular, from time in time y get some error messages
refering an exceptional condition in the arima model.

I want to catch these error messages from de C code 
(or at least the code error number) to take some 
corrective actions.

Is there any way to do that ?

Regards,

Jorge W. Cardoso



More information about the R-help mailing list