pack.svg {easySVG} | R Documentation |
pack svg
pack.svg(width = 1200, height = 800, output.svg.name = NULL,
pack.content = pack.content)
width |
a number, width of the plot |
height |
a number, height of the plot |
output.svg.name |
a character, the output svg file name |
pack.content |
a character or a list, group content |
the characher type of svg element
pack.svg(pack.content = "<text x=\"10\" y=\"20\"> this is a svg element </text>")
pack.content <- list(svg1 = "<text x=\"10\" y=\"20\"> this is a svg element </text>",
svg2 = "<text x=\"10\" y=\"40\"> this is a svg element </text>")
pack_info <- pack.svg(pack.content = pack.content)
message(pack_info)