Skip to content
Prev 334470 / 398503 Next

Exporting R graphics into Word without losing graph quality

On 13-12-15 6:00 PM, david hamer wrote:
Don't use a bitmap format (png).

Don't produce your graph in one format (screen display), then convert to 
another (png).  Open the device in the format you want for the final file.

Use a vector format for output.  I don't know what kinds Word supports, 
but EPS or PDF would likely be best; if it can't read those, then 
Windows metafile (via windows() to open the device) would be best. 
(Don't trust the preview to tell you the quality of the graph, try 
printing the document.  Word isn't quite as bad as it appears.)

Don't use Word.

Duncan Murdoch