I installed R 2.14.1 on a OSX 10.7.2 computer using MacPorts. If I fire up
R on a terminal, this very simple session gives me errors. I attach
sessionInfo() details as well. In addition to the warnings, I also do not
get any plots on the X11 window after the warnings. So one cannot just
ignore the warnings since the plots don't work anymore after this. I guess
one could try to avoid this by not overwriting the plots, but it should not
lead to errors fatal to the X11 graphics output of the R session. Is this
reproducible on other machines and is this a bug?

Thanks!

> plot(c(.1,.3,.4),ylim=c(0,1))
> dev.off()
null device
          1
> plot(c(.1,.3,.4),ylim=c(0,1))
> plot(c(.1,.3,.4),ylim=c(0,1))
> dev.off()
null device
          1
> plot(c(.1,.3,.4),ylim=c(0,1))
Warning messages:
1: In dev.flush() :
  X11 protocol error: BadRequest (invalid request code or no such operation)
2: In dev.flush() : X11 protocol error: BadGC (invalid GC parameter)
3: In dev.flush() :
  X11 protocol error: BadRequest (invalid request code or no such operation)
4: In dev.flush() :
  X11 protocol error: BadRequest (invalid request code or no such operation)
> sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: x86_64-apple-darwin11.0.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
Warning message:
X11 protocol error: BadRequest (invalid request code or no such operation)
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to