[Rd] R Embedded waring and error callbacks
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue May 26 21:29:57 CEST 2009
On Tuesday 26 May 2009, Christian Ledergerber wrote:
> 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_R_WriteErrConsole. However, I could not find this function pointer in
> my current R installation (R version 2.8.1 (2008-12-22)). Do I need to
> install a different R version or is there by now a different way to receive
> those callbacks?
ptr_R_WriteConsoleEx is what you are looking for. And this is the manual you
want to look at: http://cran.r-project.org/doc/manuals/R-exts.html .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the R-devel