On 10/10/2008 8:13 AM, Oliver Bandel wrote:
Hello,


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")
[1] "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 libpng.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to