Re: [Rd] getGraphicsEvent on X11 and event queuing

2016-06-20 Thread frederik
Hi R-Devel and Duncan, Any ideas about my patch? I'm including Duncan Murdoch since he was actually the one who made the "fix" to Hugo's bug in September 2010. Duncan chose to "fix" Cairo support by formally disabling it, rather than by enabling it as Hugo had proposed. I don't see a reply to Hugo

Re: [Rd] getGraphicsEvent on X11 and event queuing

2016-06-14 Thread frederik
Hi Martin, > Also, as you are studying the C code and the issues anyway, it > may be worthwhile to consider (as small as possible!) patches to > the source you could also post to the bugzilla site if you > prefer; attaching as text/plain to R-devel does work fine, too. Well, after your kind solic

Re: [Rd] getGraphicsEvent on X11 and event queuing; Makefile.in

2016-06-11 Thread frederik
Hi Martin, Thanks for getting back about getGraphicsEvent. I got an off-list reply from someone who echoed the annoyance with lack of Cairo support, and also provided some interesting examples of his own use of getGraphicsEvent. Thank you for the invitation to contribute patches; I don't know wha

Re: [Rd] getGraphicsEvent on X11 and event queuing

2016-06-09 Thread Martin Maechler
Hi Frederik, > > on Tue, 7 Jun 2016 15:20:05 -0700 writes: > ... I just realized that setGraphicsEventHandlers or > getGraphicsEvent could have an 'onIdle' callback, to be > called somewhere in the polling loop of gevents.c:163 - I > think this would solve my proble

Re: [Rd] getGraphicsEvent on X11 and event queuing

2016-06-07 Thread frederik
... I just realized that setGraphicsEventHandlers or getGraphicsEvent could have an 'onIdle' callback, to be called somewhere in the polling loop of gevents.c:163 - I think this would solve my problem #2 in a minimally disruptive way. On Mon, Jun 06, 2016 at 06:38:45PM -0700, frede...@ofb.net wrot

[Rd] getGraphicsEvent on X11 and event queuing

2016-06-06 Thread frederik
Hi R-Devel, I've been working on an oscilloscope project using an Arduino microcontroller board. I found that it's quite easy to get realtime updates, e.g. 30+ frames per second, if I read data from the board in a little Rcpp library. I have to use dev.hold() and dev.flush() to keep the plot from