Saving surface3d Output
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