RSvgDevice
From Christoph's Personal Wiki
RSvgDevice (or Scalable Vector Graphics for R) is a package (or "device") for R. It allows you to output your data to an SVG file.
Usage
devSVG(file = "Rplots.svg", width = 10, height = 8, bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)
Example
library(RSvgDevice) devSVG(file = "foo.svg", width = 10, height = 8, bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE) plot(1:11,(-5:5)^2, type='b', main="Simple Example Plot") dev.off()
External links
- RSvgDevice — on CRAN
- Authors homepage