R: Create a grid grob representing a comment

grid.comment {gridSVG} | R Documentation

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

### Author(s)

Simon Potter

### See Also

`grid.export`

[Package gridSVG version 1.6-0 Index]