[R] rgl.snapshot() : no longer works?

Duncan Murdoch murdoch.duncan at gmail.com
Wed Nov 3 01:27:43 CET 2010


On 02/11/2010 8:24 PM, Remko Duursma wrote:
>
> Hi all,
>
>> library(rgl)
>> plot3d(1,1,1)
>> snapshot3d("somefile.png")
> Error in rgl.snapshot(...) :
>    pixmap save format not supported in this build
>
>
> Why does this no longer work?

The build for 2.12.0 on CRAN doesn't have png support built in.  I'm 
currently working with Uwe to fix this.

Duncan Murdoch

>
> thanks,
> Remko
>
>> sessionInfo()
> R version 2.12.0 (2010-10-15)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
> [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
> [5] LC_TIME=English_Australia.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] YPLANTER2_0.1   LeafAngle_1.0.3 gpclib_1.5-1    geometry_0.1-7
> rgl_0.92.794
>
> loaded via a namespace (and not attached):
> [1] tools_2.12.0



More information about the R-help mailing list