Re: [R] R-Embedding and error messages

2008-08-20 Thread Jorge Cardoso
I tried both solutions but I always get "undefined symbol" when executing I have checked my Makefile and I'm sure that -lR is present when compiling I did a grep for the R-sources and verified that both functions exists I will try to post it in r-devel list. Thank for yours responses dear Mar

Re: [R] R-Embedding and error messages

2008-08-20 Thread Luke Tierney
On Wed, 20 Aug 2008, Martin Morgan wrote: Hi Jorge -- I hesitate to suggest this unsupported solution (as these public suggestions tend to mean that the solution disappears!), but in C Don't use this -- it is subject to change/removal with no notice. I do not believe there is a C level metha

Re: [R] R-Embedding and error messages

2008-08-20 Thread Martin Morgan
Hi Jorge -- I hesitate to suggest this unsupported solution (as these public suggestions tend to mean that the solution disappears!), but in C extern void R_SetErrorHook(void (*)(SEXP, char *)); void my_ErrorHook(SEXP call, char *message) { /* etc; e.g., cache message, perhaps reset