Learn R Programming

RSVGTipsDevice (version 0.7-3)

setSVGShapeURL: 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"

Value

  • Returns an invisible NULL.

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.)

See Also

RSVGTipsDevice

Examples

Run this code
setSVGShapeURL("http://www.r-project.org")

Run the code above in your browser using DataLab