Export R plot to Illustrator or Inkscape

September 6, 2012
By

(This article was first published on Eldon Prince » R-bloggers, and kindly contributed to R-bloggers)

Have you ever exported an R plot as a PDF and tried to edit it further by importing the PDF into a vector graphics program like Adobe Illustrator or Inkscape? What typically happens is the points on the plot get converted into text of some sort, usually the letter “q”. To avoid this problem simply export your file as a postscript and it works like a charm in either Illustrator or Inkscape.

I find this approach quite useful when I want to annotate plots with greater precision and control than is possible in R.

To leave a comment for the author, please follow the link and comment on his blog: Eldon Prince » R-bloggers.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.