examplesDir <- file.path(system.file(package = 'hwriterPlus'),
'examples')
catsSVG <- file.path(examplesDir, "cats.svg")
### Raw html produced
hwriteSVG(catsSVG, page = NULL, height = 600, width = 600,
center = FALSE, br = TRUE)
### Formatted a little more nicely
svgHTML <- hwriteSVG(catsSVG, page = NULL, height = 600, width = 600,
center = FALSE, br = TRUE)
unlist(strsplit(svgHTML, "\n"))
Run the code above in your browser using DataLab