powered by
This is useful primarily for testing. Requires the htmltools package.
htmltools
htmlSVG(code, ...)
Plotting code to execute.
Other arguments passed on to svglite.
svglite
if (interactive() && require("htmltools")) { htmlSVG(plot(1:10)) htmlSVG(hist(rnorm(100))) }
Run the code above in your browser using DataLab