[R] Windows metafile problem

Charles Annis, P.E.
Fri, 17 Feb 2006 15:20:28 -0000

When you open the metafile with something like

win.metafile(filename = file.name, width = 6.5, height = 6.5, pointsize 12)

Where you have defined the file.name to include the path, you then, of
course, execute the R logic to create the file.

BUT, don't forget to close the file to tidy things up.  Otherwise the file
will be there, but it won't be useable.  So your final statement should be

dev.off()


Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Smith, Phil
Sent: Friday, February 17, 2006 8:40 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Windows metafile problem

Hi All:

I'm using win.metafile() to produce windows metafiles.

When I use Word to insert the wmf picture, Word gives an error!

I did my homework in posting this question, and couldn't find a fix.

Any suggestions?

Phil Smith
CDC

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!