encodeSVGSpecialChars {RSVGTipsDevice} | R Documentation |
Encode SVG special chars (ampersand, etc) as the appropriate XML encoding.
encodeSVGSpecialChars(x, sub.special = TRUE)
x |
A vector of character data to be encode. |
sub.special |
If FALSE , do not encode. |
The following substitutions are made:
\& | & |
\' | ' |
\" | " |
\< | < |
\> | > |
The vector x
with encodings as appropriate.
Tony Plate tplate@acm.org