> 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.

Reply via email to