encodeSVGSpecialChars {RSVGTipsDevice}R Documentation

Encode SVG special chars (ampersand, etc)

Description

Encode SVG special chars (ampersand, etc) as the appropriate XML encoding.

Usage

encodeSVGSpecialChars(x, sub.special = TRUE)

Arguments

x A vector of character data to be encode.
sub.special If FALSE, do not encode.

Details

The following substitutions are made:
\& &
\' '
\" "
\< &lt;
\> &gt;

Value

The vector x with encodings as appropriate.

Author(s)

Tony Plate tplate@acm.org


[Package RSVGTipsDevice version 0.7-3 Index]