Export R plot to Illustrator or Inkscape
[This article was first published on Eldon Prince » R-bloggers, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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 their blog: Eldon Prince » R-bloggers.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.