[R] rgl-snapshot failed (err-msg: "failed")
murdoch at stats.uwo.ca
Fri Oct 10 14:21:57 CEST 2008
On 10/10/2008 8:13 AM, Oliver Bandel wrote:
> I tried to use rgl.snapshot and it failed.
> The error message was not very verbose:
>> plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] )
>> rgl.snapshot(filename="/tmp/shot_01.png", fmt="png")
>  "failed"
> There was a graphic created by rgl, but the snapshot was
> not created.
> The same problem occurs, when I use
> > example(rgl.snapshot)
> The graphic/animation will be created, but there is no possibility
> to create the output-files.
> I use "R version 2.4.0 Patched (2006-11-25 r39997)".
> Is this a problem of this old version? or is there
> maybe a general problem, independent of the version?
This is a problem with the build. rgl is not easy to build, because it
links to a lot of external libraries. In this case it looks as though
your build (the one from R-forge? You should say...) did not link to
More information about the R-help