From thomas.friedrichsmeier at ruhr-uni-bochum.de  Tue May 26 21:29:57 2009
From: thomas.friedrichsmeier at ruhr-uni-bochum.de (Thomas Friedrichsmeier)
Date: 26 May 2009 21:29:57 +0200
Subject: [Rd] R Embedded waring and error callbacks
In-Reply-To: <606c04234da51893244cf11281a5fca0@comerge.net>
References: <606c04234da51893244cf11281a5fca0@comerge.net>
Message-ID: <200905262130.01622.thomas.friedrichsmeier@ruhr-uni-bochum.de>

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 .

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090526/dbbecbd8/attachment.bin>


[Rd] R Embedded waring and error callbacks
Thomas Friedrichsmeier