I found a very handy dev.copy2pdf command to copy the window that I am viewing into a PDF file like so:
plot(rnorm(1000))
dev.copy2pdf(file="myfile.pdf")
And my question is, is there an equivalent dev.copy2svg
for the same effect, but which is written to svg format?
source
to share