Message-ID: <43F07976.6050904@stats.uwo.ca>
Date: 2006-02-13T12:20:06Z
From: Duncan Murdoch
Subject: Saving surface3d Output
In-Reply-To: <Pine.LNX.4.44.0602131153350.27990-100000@gw.env.leeds.ac.uk>
On 2/13/2006 6:56 AM, Laura Quinn wrote:
> Hello,
>
> Please could someone advise if it's possible to save the graphical output
> from the surface3d() function? I have tried the dev.copy() function to
> save as a pdf but an error message says I cannot copy from the null
> device.
Are you talking about surface3d in the rgl package? It doesn't use the
standard R graphics system, so dev.copy() won't help. You need
rgl.snapshot, which can create png files. You'll need some other
utility to convert those to pdf.
Duncan Murdoch