[Rd] X11 help please

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sun, 17 Jun 2007 16:27:16 -0400

The rgl package currently crashes R when running under Xvfb (the "virtual frame buffer" server), at least on MacOSX. It makes sense that it shouldn't be able to work there (it needs interactivity), but I don't know how to detect the problems before they cause the crash.

Currently the error happens the first time you try to open an rgl window; when rgl calls XCreateWindow R crashes with the error message

X Error of failed request: BadMatch (invalid parameter attributes)   Major opcode of failed request: 1 (X_CreateWindow)   Serial number of failed request: 28
  Current serial number in output stream: 29

I've checked and as far as I can see all the parameters we're sending to XCreateWindow are valid, but I might have missed something: I don't know much about X11 programming. (The call is

  ::Window xwindow = XCreateWindow(
    xdisplay, RootWindow(xdisplay, DefaultScreen(xdisplay)),     0, 0, 256, 256, 0,

but without context that's probably not worth much to others.)

Are there any experienced X11 programmers out there who can suggest what to do next?

Duncan Murdoch

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 17 Jun 2007 - 20:30:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Jun 2007 - 07:35:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.