powered by
Read SVG file and return XML document
read_svg(file, enc = "UTF-8", summary = FALSE, display = FALSE)
A string, a connection, or a raw vector. See read_xml.
read_xml
Encoding (default 'UTF-8').
Show summary of SVG file (summary_svg)? (default FALSE)
summary_svg
Display SVG on standard display port (display_svg)? (default FALSE)
display_svg
XML document with SVG content
# NOT RUN { fpath <- system.file("extdata", "fig1.svg", package="svgtools") svg <- read_svg(file = fpath, summary = TRUE) # }
Run the code above in your browser using DataLab