TL;DR: In RGUI and ESS, what are the didBecomeActive
messages and how do I suppress them?
Working with the OSX RGUI 3.0.3 in OSX 10.9.2, the console displays what look like logging messages Whenever the RGUI app becomes active. See the screenshot below
Something similar happens in when I interact with R from within emacs, using ESS. Usually this happens whenever I use the default graphic device, for example invoking a simple plot
function. When I close the window containing the graph or simply refocus to emacs another didBecomeActive
message. With ESS this is particularly annoying because the buffer has become read-only and I cannot directly interact with the console (a workaround is to C-c C-q
to try and quit the R process but then cancel the request with c
).
The question
These seem to be related problems. What are these messages? How can I suppress them? How can I regain control of the R console automatically in Emacs/ESS after having used a graphical device?
Edit
These messages are logged in system.log
and seem to trickle down unfiltered onto the R console.
Here is an extract
Mar 14 12:56:41 xxx-mbp.att.net Google Chrome[1075]: didBecomeActive!
Mar 14 12:56:44 xxx-mbp.att.net Adium[17018]: didBecomeActive!
Mar 14 12:56:45 xxx-mbp.att.net Emacs[5455]: didBecomeActive!
Mar 14 12:56:46 xxx-mbp.att.net Google Chrome[1075]: didBecomeActive!
Mar 14 12:56:47 xxx-mbp.att.net R[16531]: didBecomeActive!
Mar 14 12:56:49 xxx-mbp.att.net Google Chrome[1075]: didBecomeActive!
Mar 14 12:56:53 xxx-mbp.att.net R[16531]: didBecomeActive!
Mar 14 12:56:54 xxx-mbp.att.net Emacs[5455]: didBecomeActive!
Mar 14 12:56:56 xxx-mbp.att.net Google Chrome[1075]: didBecomeActive!