[R] Force R to process all pending x11 events?

Fabian Model
Wed, 21 Mar 2001 19:04:36 -0000

Dear R users,

i've written an interactive R programm that uses the tcl package for
user interaction and the usual R windows for graphical output.
Unfortunately these windows can not be resized as long as R is running
or the tcl event loop runs.

Is there a way to force R to process the X11 event loop ?

My event loop could then look like this:

while(!stop) {
  .Tcl("set EventTimer 0")
  .Tcl("after 20 {set EventTimer 1}")
  .Tcl("vwait EventTimer")          # process tcl events
  PROCESS.ALL.PENDING.X11.EVENTS()  # process x11 events ???
}

Is there something like the PROCESS.ALL.PENDING.X11.EVENTS() function?


Ciao
  Fabian

--
Fabian Model
Epigenomics AG, Data Mining R&D
mailto:Fabian.Model at epigenomics.com     http://www.epigenomics.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._