From thomas.friedrichsmeier at ruhr-uni-bochum.de  Wed Apr 20 21:05:33 2005
From: thomas.friedrichsmeier at ruhr-uni-bochum.de (Thomas Friedrichsmeier)
Date: Wed Apr 20 21:04:50 2005
Subject: [Rd] Embedded R and x11
Message-ID: <200504202105.33116.thomas.friedrichsmeier@ruhr-uni-bochum.de>

> I think you are barking up the wrong tree.  If you want to use an
> event-driven sub-system you need to run an event loop.

Well, but I only want part of R's event loop, namely handling of some specific
X11-events. Of course, I do have a sort of event-loop, except that the main
category of "events" is requests coming from the main application/thread. For
this it's simply more practical to run my "own" event loop. The only problem
was how to trigger processing of X11-events from there.

Anyway, you will see in my follow-up, that I found a solution that does just
what I want.

> There is a lot of new information in 2.1.0 on building a front-end.
> Please read it.

Yes, I've seen that, and it's very helpful compared to the documentation
available when I had last checked (pre 2.0.0).

Regards
Thomas Friedrichsmeier

P.S.: In case you're interested, the project I'm working on is this:
http://rkward.sourceforge.net


[Rd] Embedded R and x11
Thomas Friedrichsmeier