[R-SIG-Mac] rgl.snapshot

Gregory Jefferis gsxej2 at cam.ac.uk
Fri May 20 03:44:15 CEST 2005


Dear List,

I am unable to take a snapshot using the rgl package eg:

  rgl.clear()
  rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color=heat.colors(1000),
size=2)
>   rgl.snapshot('test.png')
[1] "failed"

Same is true running R from Terminal or Cocoa GUI
Rgl 0.64-13 binary install from CRAN
libpng compiled from current source
I am running R 2.1.0a on OS X 10.3.9 on a Dual G5

Does anyone have any suggestions?  Many thanks,

Greg Jefferis.

-- 
Gregory Jefferis, PhD                               and:
Research Fellow
Department of Zoology                               St John's College
Downing Street                                      Cambridge
Cambridge, CB2 3EJ                                  CB2 1TP

Tel: +44 (0)1223 336683                             +44 (0)1223 339899
Fax: +44 (0)1223 336676                             +44 (0)1223 337720

gsxej2 at cam.ac.uk



More information about the R-SIG-Mac mailing list