[R] dashed lines and SVG files

Adrian DUSA dusa.adrian at gmail.com
Thu Jan 4 12:17:58 CET 2007


Sorry for duplicating the message, the previous had an unintended
subject line...

Dear helpers,

I have a question about the SVG device. It works fine, the SVG file is
indeed produced, only the graphic differs from the R window.
In the SVG file the dashed line is just a regular plain one. My toy example is:

library(RSvgDevice)
devSVG("myplot.svg", width=10, height=10)
plot(1:10)
abline(v=5, lty=¨dashed¨)
dev.off()

Is there anything more (or different) I should do?
Many thanks in advance,
Adrian



More information about the R-help mailing list