[R] save wmf with a batch file

Duncan Murdoch murdoch at stats.uwo.ca
Tue Oct 6 15:49:28 CEST 2009


On 10/6/2009 9:45 AM, guillaume Le Ray wrote:
> I have a window with "unable to create metafile"  I think it is because I'm
> using the function layout() in some of my graphs

I doubt if that's the cause.  More likely it's a permissions problem, or 
some other problem.  For example, this works fine:

 > win.metafile("c:/temp/test.wmf")
 > layout(matrix(1:4, 2,2))
 > plot(1)
 > plot(2)
 > dev.off()
null device
           1

Duncan Murdoch




More information about the R-help mailing list