| Title: | An R SVG Graphics Device |
|---|---|
| Description: | A graphics device for R that uses the w3.org xml standard for Scalable Vector Graphics. Compatibility updates by Renova. |
| Authors: | T Jake Luciani <[email protected]>, Matthieu Decorde <[email protected]>, Vaudor Lise <[email protected]> |
| Maintainer: | Matthieu Decorde <[email protected]> |
| License: | GPL (>= 2) |
| Version: | 0.6.4.4.9002 |
| Built: | 2026-11-13 19:57:45 UTC |
| Source: | https://github.com/renova-r/RSvgDevice |
This function produces graphics suitable the current w3 svg XML standard
devSVG(file = "Rplots.svg", width = 10, height = 8, bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)devSVG(file = "Rplots.svg", width = 10, height = 8, bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)
file |
the file where output will appear. |
width |
The width of the plot in inches. |
height |
the height of the plot in inches. |
bg |
the background color for the plot. |
fg |
the foreground color for the plot. |
onefile |
merge plot calls into onefile or separate them to separate pages. |
xmlHeader |
Print XML header or not. |
This driver currently does not have any font metric information,
so the use of plotmath is not supported.
The driver output is currently NOT specifying a DOCTYPE DTD
This driver was written by T Jake Luciani [email protected] 2012: updated by Matthieu Decorde [email protected]
www Consortum W3C Scalable Vector Graphics (SVG) http://www.w3.org/Graphics/SVG/Overview.htm8
library(RSvgDevice) devSVG() plot(1:11,(-5:5)^2, type='b', main="Simple Example") dev.off()library(RSvgDevice) devSVG() plot(1:11,(-5:5)^2, type='b', main="Simple Example") dev.off()