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

Gaspard Lequeux Gaspard.Lequeux.at at biomath.ugent.be
Wed Aug 23 23:15:27 CEST 2006


Hej,

When exporting a image from rgl, the following error is encountered:

> rgl.postscript('testing.pdf', fmt="pdf")
RGL: ERROR: can't bind glx context to window
RGL: ERROR: can't bind glx context to window
Warning messages:
1: X11 protocol error: GLXBadContextState
2: X11 protocol error: GLXBadContextState

The pdf file is created and is readable, but all the labels are gone.

Taking a snapshot (to png) gives 'failed' and no file is created.

Version of rgl used: 0.67-2 (2006-07-11)
Version of R used: R 2.3.1; i486-pc-linux-gnu; 2006-07-13 01:31:16;
Running Debian GNU/Linux testing (Etch).

/Gaspard



More information about the R-help mailing list