开发者

Best device for SVG graphics in R? [closed]

开发者 https://www.devze.com 2023-01-12 16:52 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

开发者_运维百科 Improve this question

I'd like to export SVG graphics from R. There appear to be two alternatives: RSvgDevice and Cairo. Can anyone comment on these packages? Is either the default, or clearly better than the other?

Many thanks,


I can't comment definitively other than to say that I use Cairo all the time to create high-quality images, and have had great experience with it. It can target many different output formats beyond SVG.


As far as I know, there are other packages you could try: gridSVG, SVGAnnotation and RSVGTipsDevice. You will find lots of examples and different discussions of these approaches in some slides by Paul Murrel (author of gridSVG) and in a paper by the authors of SVGAnnotation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号