RSvgDevice
install.packages(“RSvgDevice”) #one time
library(RSvgDevice)
devSVG(file = “testRplots.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()
没有评论:
发表评论