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

From: Gaspard Lequeux <Gaspard.Lequeux.at_at_biomath.ugent.be>
Date: Thu 24 Aug 2006 - 07:15:27 EST


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).


R-help@stat.math.ethz.ch 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. Received on Thu Aug 24 07:26:18 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 24 Aug 2006 - 20:22:47 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.