Skip to content
Prev 106966 / 398498 Next

dashed lines and SVG files devSVG("/folderul/unde/salvez/myplot.svg", width=10, height=10) plot(1:10, 1:10) dev.off()

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