Re: [R] Saving surface3d Output

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Mon 13 Feb 2006 - 23:20:06 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Feb 13 23:33:04 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:29 EST