Learn R Programming

RGraphics (version 3.0-2)

splitTextGrob: Split text into multiple lines

Description

Splits a single string into multiple lines (by inserting line breaks) so that the output will fit within the current viewport.

Usage

splitTextGrob(text, ...)

Arguments

text

The string to split.

Arguments passed to the grob() function.