简体   繁体   English

以矢量格式从R导出图形

[英]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. 我想以矢量格式从R导出图形(例如,直方图和ROC曲线),以便在像Intaglio这样的图形设计程序中进行布局编辑。 Is this possible? 这可能吗?

pdf("myfile.pdf")

# graph goes here

dev.off()

Other devices (besides PDF) exist as well. 其他设备(除PDF之外)也存在。 (@Justin points out what is probably the most useful one in a comment). (@Justin指出评论中可能最有用的内容)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM