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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With