最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

r - Change the device used by RStudio when saving a plot - Stack Overflow

programmeradmin2浏览0评论

I wish to save some EnhancedVolcano plots in RStudio. The resolution is getting messed up when saving with ggsave - using pixel and DPI makes the fonts scale out of whack, and frankly there are too many elements to modify them via R. I want to save them as SVG so I can edit the texts using Inkscape.

When saving using ggsave or the "Save Plot as Image" the text is saved as individual objects and is not editable.

However, when I use the Device svglite, the texts are rendered correctly, making them editable. I wanted to know if I can customize the "Save Plot as Image" to use svglite in its backend.

发布评论

评论列表(0)

  1. 暂无评论