RSvgDevice

From Christoph's Personal Wiki
Revision as of 01:08, 29 October 2006 by Christoph (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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