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

Ben Bolker bolker at zoo.ufl.edu
Wed Sep 13 16:04:21 CEST 2006

Daniel Franke <franke.daniel <at> gmail.com> writes:

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

  Just a quick question: if you use an example with
text in it, does the text show up in the output on
the version that works (OpenSuSE)?  Someone else reported
no crash, but no text output either.

   Otherwise I can't help.  For what it's worth,
I discovered that in the Ubuntu (and I assume any
Gnome) desktop, Alt-PrintScreen does screen capture
on a single window, which is a good workaround 
for rgl.snapshot() [although it would still be nice
to have rgl.postscript() working ...]

  Ben Bolker

More information about the R-help mailing list