setSVGShapeURL: Set raw shape URL (XML text) for the next graphics shape...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/SVG.R

Description

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

Usage

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

Author(s)

Tony Plate tplate@acm.org

See Also

RSVGTipsDevice

Examples

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

RSVGTipsDevice documentation built on May 1, 2019, 8:20 p.m.