Learn R Programming

gridSVG (version 1.5-0)

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 grid.export, to produce an SVG document with comments inserted at the point where the grob is “drawn”.

Usage

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

Arguments

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.
name
A character identifier.
vp
The viewport to which the grob belongs.

Value

A comment.grob object.

See Also

grid.export