half-pass
half-pass

Reputation: 1931

Export graphics from R in vector format

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?

Upvotes: 1

Views: 7543

Answers (1)

Ari B. Friedman
Ari B. Friedman

Reputation: 72741

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).

Upvotes: 4

Related Questions