| region | R Documentation |
A region (rectangle) describes a region of the terminal in cells. Coordinates are
1-based, like R indices and ANSI cursor positions: x is the column and
y is the row of the top-left cell.
region(x = 1L, y = 1L, width = 0L, height = 0L)
x, y |
Column and row of the top-left cell. |
width, height |
Size in cells. Negative sizes are clamped to zero. |
Rectangles are plain values (lists with class termr_rect), so they can
be compared with identical() and are cheap to create during layout.
An object of class termr_rect.
r <- region(1, 1, 40, 5)
r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.