[R] rgl: exporting to pdf or png does not work
Duncan Murdoch
murdoch at stats.uwo.ca
Thu Aug 24 00:52:23 CEST 2006
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
More information about the R-help
mailing list