On 10/29/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > > The problem is that the XtOpenDisplay call did not specify the display. > Easily fixed .... >
On 10/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > The culprit would seem to be this bit of devX11.c > > 1302 xtdpy = XtOpenDisplay(app_con, NULL, "r_x11", > "R_x11", > 1303 NULL, 0, &zero, NULL); > 1304 toplevel = XtAppCreateShell(NULL, "R_x11", > > The 2nd arg to XtOpenDisplay is listed as display_string, so passing a > NULL here seems like trouble when the default ways of finding the > display do not work. > > Looks like a fix is to insert p instead of NULL. (Tested rudimentarily.) Prof. Ripley replaced that NULL with dsp -- p is normally the same. It's in svn (r43300 on he trunk, r43301 on R-2-6-branch). It built without a hitch, and the fix solves my problem. P. Dalgaard also pinpointed the problem. And confirmed Xt was involved :-) Apparently an XOpenDisplay on the specified display may be followed by an XtOpenDisplay, previously on the default display. Thanks to everyone who helped figure this out and fix the problem! /Christian Brechbuehler [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel