[R] rgl: exporting to pdf or png does not work

Daniel Franke franke.daniel at gmail.com
Tue Sep 12 21:38:51 CEST 2006

[This is a follow-up to the recent discussion on R-help]

Hi all,

I can reproduce both problems on gentoo (2006.0 profile), 
but not on OpenSuSE-10.1. 

bash> cat rgl.postscript.r
rgl.postscript("spheres.eps", fmt="eps")

R> source("rgl.postscript.r")

X Error of failed request:  GLXBadContextState
  Major opcode of failed request:  142 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  102
  Current serial number in output stream:  102

bash> cat rgl.snapshot.r
rgl.postscript("spheres.png", fmt="png")

R> source("rgl.snapshot.r")
[1] "failed"

Installed libraries:
 * Gentoo: R-2.2.1, rgl-0.67.2, OpenSuSE: R-2.3.1, rgl-0.67.2
 * Gentoo: libpng-1.2.12, OpenSuSE: libpng-1.2.8
 * Gentoo: Xorg-6.8.2 (mga), OpenSuSE: 6.9.0 (nvidia)
 * Gentoo: freeglut-2.4.0, OpenSuSE:  freeglut-051110
 * OpenSuse: mesa-6.4.2

Please let me know if there is anything I can do to help to 
solve this issue.


P.S. Please CC me in your replies, I am not subscribed to the list.

More information about the R-help mailing list