Hi R users, I'm working on a autoreporting with the batch mode of R: I would like to save the graphs produced in wmf or emf. the problem is, it's working well with the R gui because we print on the screen the graph devices but not with the batch. I have used the function dev.print after encounter problem with win.metafile. Thanks Guillaume [[alternative HTML version deleted]]
On 10/6/2009 9:05 AM, guillaume Le Ray wrote:> Hi R users, > > I'm working on a autoreporting with the batch mode of R: I would like to > save the graphs produced in wmf or emf. the problem is, it's working well > with the R gui because we print on the screen the graph devices but not with > the batch. I have used the function dev.print after encounter problem with > win.metafile.You should be using win.metafile. What problems did you have? Duncan Murdoch
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 graphsI 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