NOT YET SOLVED: Re: [R] Error in postscript(....)

Marcus Eger marcus.eger at physik.uni-marburg.de
Mon Jan 29 12:32:21 CET 2001


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 at gmx.de (NEW)
|         marcus.eger at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list