I need to import high quality R plots into Microsoft Word which later needs to be transformed into a pdf (thesis). At first I tried high resolution PNGs, but the printout was really blurry.
png(height=2500, width=2750, filename="correlations3.png", units="px",type="cairo-png",antialias="default",pointsize=5,res=500)
As I read somewhere that postscript is the way to go, I tried postscript()
, but the font is displaying really jagged in word.
postscript("Correlations4.eps",height=10, width=12,pointsize=8,paper="special",family = "Arial", onefile = FALSE,horizontal = FALSE,colormodel = "rgb")
I tried different font types, but it didn’t help. I tried to embed the fonts, but it did not improve the quality of the text either.
Cairo_ps
seems to produce a nice plot, but unfortunately the text is just showing as symbols in word and I have no idea why??
cairo_ps(height=5, width=7, filename="Correlations11.eps",family="Times New Roman",antialias="default",pointsize=5)
I’m a bit at a loss here and any help is very much appreciated.