[Rd] R Embedded waring and error callbacks

2009-05-26 Thread Christian Ledergerber
Hi, I would like to display error messages and warnings which are generated in R in my own GUI. For normal output we simply had to assign a callback function to ptr_R_WriteConsole and ptr_R_ShowMessage. According to google there should be similar function pointers for error messages. Such as ptr_

[Rd] terminating R code evalutation asynchronously

2009-04-21 Thread Christian Ledergerber
safe" or do we risk that the application crashes when the signal handler is invoked? Is there another, safer way to terminate the current R execution? Furthermore this function seems to crash if the R engine is not currently inside a R_tryEval call. Thanks! Christian L