Re: [R] Windows metafile problem

From: Charles Annis, P.E. <Charles.Annis_at_statisticalengineering.com>
Date: Sat 18 Feb 2006 - 02:20:28 EST


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@StatisticalEngineering.com phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineering.com  

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Smith, Phil Sent: Friday, February 17, 2006 8:40 AM

To: r-help@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@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

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 Sat Feb 18 02:34:26 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:40 EST