NOT YET SOLVED: Re: [R] Error in postscript(....)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Wed Jan 24 17:58:02 CET 2001
Marcus Eger <marcus.eger at physik.uni-marburg.de> writes:
> Is there a way to circumvent the problem or to solve it? I'd be very
> glad to find a solution...
> M. Eger
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?)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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