1

I'd like to export graphics from R (for example, histograms and ROC curves) in vector format in order to make layout edits in a graphic design program like Intaglio. Is this possible?

half-pass
  • 1,851
  • 4
  • 22
  • 33
  • possible duplicate of [saving plots to pdf fails](http://stackoverflow.com/questions/6494370/saving-plots-to-pdf-fails). Not a great duplicate, but this question is definitely in the manuals *everywhere*. – Ari B. Friedman Jun 19 '12 at 22:45

1 Answers1

4
pdf("myfile.pdf")

# graph goes here

dev.off()

Other devices (besides PDF) exist as well. (@Justin points out what is probably the most useful one in a comment).

Ari B. Friedman
  • 71,271
  • 35
  • 175
  • 235