Learn R Programming

gridSVG (version 1.0-1)

grid.comment: Create a grid grob representing a comment

Description

Creates a comment.grob object which is a grid nullGrob, with a comment attached. Useful in conjunction with gridToSVG, to produce an SVG document with comments inserted at the point where the grob is drawn.

Usage

grid.comment(name, comment, vp = NULL)
commentGrob(name, comment, vp = NULL)

Arguments

name
A character identifier.
comment
A character vector used to write out a comment. If this has a length greater than one, each element is assumed to be a line.
vp
The viewport to which the grob belongs.

Value

  • A comment.grob object.

See Also

gridToSVG