I think you mean savePlot: I have never heard of saveCopy. We have seen this before, and the problem was the EMF viewer, not the EMF file. So how is this being viewed?
And as ever > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. applies. On Mon, 15 Oct 2007, Poirier Clement wrote: >> How are you doing this? Via code? > > I just type saveCopy(file, type="emf", etc....) after the barplot() > function ; but using windows commands (file, save as) do the same. > >> If so, more than likely you forgot to add: >> >> dev.off() >> >> after the code that generates the plot. If you don't close the device, >> then parts of the plot are not "flushed" from the cache to the disk file >> and you are left with an incomplete plot in the file. > > Ok but where has the line dev.off() to be placed ? If after the > barplot() function, the plot disappears and there's nothing to save > anymore ? > > Thank you ! > >> HTH, >> >> Marc Schwartz > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.