setSVGShapeURL

0th

Percentile

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

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

Keywords
device
Usage
setSVGShapeURL(url, target=NULL, sub.special=TRUE)
Arguments
url
A full valid URL, e.g., "http://www.r-project.org"
target
The name of a target in the page - use "\_blank" to make the link open a new browser tab or window
sub.special
If TRUE, substitue XML encodings for special characters in url and target. If FALSE, it is possible to produce an invalid XML file by supplying a URL with special characters (i.e., "<", "="">", "&", and single- and double-quotes.)
Details

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

Value

Returns an invisible NULL.

See Also

RSVGTipsDevice

Aliases
  • setSVGShapeURL
Examples
## Not run: setSVGShapeURL("http://www.r-project.org")
Documentation reproduced from package RSVGTipsDevice, version 1.0-7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.