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,711
  • 3
  • 20
  • 32
  • 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
  • 69,285
  • 35
  • 174
  • 232