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

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Thu 24 Aug 2006 - 08:52:23 EST

On 8/23/2006 5:15 PM, Gaspard Lequeux wrote:
> 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).

That looks like an X11 error to me, not something that I'm very likely to be able to fix. If you can debug the error, it would be helpful.

Duncan Murdoch



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 18:24:12 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 Fri 25 Aug 2006 - 02:23:12 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.