Re: [Rd] Crash when embedding R X11 windows

From: Thomas Friedrichsmeier <>
Date: Wed 29 Nov 2006 - 16:22:27 GMT

Dear R developers,

On Tuesday 07 November 2006 15:26, Thomas Friedrichsmeier wrote:
> I've been experimenting with embedding R X11 windows into another
> application using KDE's QXEmbed on linux. Attempting to do so will crash R
> (with R 2.4.0, trunk, and I know the bug has been around in prior
> versions). I used to think this was related to bug #848, but I'm not sure,
> if / how the solution suggested there still applies to current versions of
> R.
> After debugging, I came up with the following patch (in src/modules/X11):

shame on me. After further investigation, I found out, that indeed QXEmbed is to blame, not R (see The fact that all other applications, I had tried to embed, did not crash, led me to believe otherwise for a long time.

The patch, I suggested, probably would not do any harm, either way, but should not be strictly needed.

Sorry about the noise.

Thomas Friedrichsmeier mailing list
Received on Thu Nov 30 13:46:40 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 30 Nov 2006 - 03:30:56 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.