Subject: Re: NOT YET SOLVED: Re: [R] Error in postscript(....)
From: Marcus Eger (marcus.eger@physik.uni-marburg.de)
Date: Mon 29 Jan 2001 - 21:32:21 EST
Message-ID: <3A7554C5.EB8CAB1@physik.uni-marburg.de>
Thanks very much for your help. However,
I've followed Prof. Ripley's advice and changed my window manager.
I wished I had the time to debug the code and to dig into c ...
M. Eger
Peter Dalgaard BSA wrote:
>
> I'm still at a loss trying to explain how postscript() triggers an X11
> error, but...
>
> You might try to change (in devX11.c)
>
> static int R_X11IOErr(Display *dsp)
> {
> error("X11 fatal IO error: please save work and shut down R");
> return 0; /* but should never get here */
> }
>
> by inserting code that unregisters the X11 input handler, i.e.
>
> int fd = ConnectionNumber(display);
> removeInputHandler(&R_InputHandlers,
> getInputHandler(R_InputHandlers,fd));
>
> and similarly in dataentry.c.
>
> (BTW, I forget, did you try running under the debugger and see whether
> it is the code in devX11.c or in dataentry.c that tickles this?)
>
-- +------------------------------------------------------- | Marcus Eger +-------- ><> ------------------------------------------- | E-Mail: eger.m@gmx.de (NEW) | marcus.eger@physik.uni-marburg.de (OLD) | WWW: http://neuro.physik.uni-marburg.de/~eger (NEW) +-------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:44 EST