
IMAGE TO VECTOR FOR MAC PDF
I also produced it directly as PDF from R using pdf() and printed the PDF and took a photograph (image on right, below). Because ultimately it will be printed from a PDF created from Word, I converted it to a PDF using default Word 2007 settings, printed it on my HP Laserjet P1606dn laser printer, and then took aphotograph to illustrate the issue of polygons borders and fills misaligning (image on left, below). dot fills misaligned with borders)ĮDIT: Further to suggestions by I produced it as an EPS postscript file (see below), inserted it as a picture into Word. # Copy and paste to Word 2007 as Windows metafile Given that I want to retain high vector quality (and not use raster formats), what can I do to make R vector graphics work with Word? (Of course Sweave and LaTeX would be nice, but again, not a realistic option).Ĭonsider this example: plot(c(1:100), c(1:100), pch=20) polygons and their fills become slightly misaligned). When I import my figures from meta-files, or copy and paste directly from R into Word both the screen and print rendering of the image changes slightly (e.g. However, I need to make a large multi-page desktop published document using Microsoft Word 2007, and therefore using PDFs is not an option. JPG, TIFF) for printing as inevitably the quality is poorer and publishers prefer vector formats. This renders the images exactly as I intended them on paper, in the highest quality. I usually save my images as PDFs and print them. R permits you to save your figure (or copy-paste) in various formats including various raster formats, as a PDF, or as a Windows meta-file. R plots usually consist entirely of vector graphics elements (i.e. So I hope readers find this appropriate for the forum. I recognize that it is not directly a programming question, but I believe it can be solved by changing how plots are produced (i.e. First a caveat: I posted this question here on SuperUser, but it is clearly the wrong place to ask R questions.
