setSVGShapeURL {RSVGTipsDevice}R Documentation

Set raw shape URL (XML text) for the next graphics shape drawn with the RSVGTips device.

Description

Set a URL to use as a hyperlink for the next graphics shape drawn with the RSVGTips device.

Usage

setSVGShapeURL(url)

Arguments

url A full valid URL, e.g., "http://www.r-project.org"

Details

This function sets a hyperlink that will be included in the SVG commands output for the next graphics shape drawn with RSVGTipsDevice.

Note that the URL is used as-is, with no substitutions made for special characters. Consequently, it is possible to produce an invalid XML file by supplying a URL with special characters (i.e., "<", ">", "&", and single- and double-quotes.)

Value

Returns an invisible NULL.

Author(s)

Tony Plate tplate@acm.org

See Also

RSVGTipsDevice

Examples

## Not run: setSVGShapeURL("http://www.r-project.org")

[Package RSVGTipsDevice version 0.7-3 Index]