How to export svg image to png file in r?
问题 I have some svg images that I want to export as png files, using r. Is there a function that can do that? Until now I only found function that export r plots to png. But how could I export e.g. this example as a png? <svg height="100" width="100"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> </svg> 回答1: rsvg https://github.com/jeroenooms/rsvg is designed to specifically to do this, and I'll say it does it very quickly. 回答2: The package convertGraph may be the