| render_text | R Documentation |
Static renderers use the normal layout and paint pipeline and do not start an event loop or write to a terminal.
render_text(x, width = 80, height = 24, trim = TRUE)
render_lines(x, width = 80, height = 24, trim = TRUE)
x |
A widget, Screen, App, or ScreenBuffer. |
width, height |
Frame size in cells. |
trim |
Remove trailing spaces from each line? |
render_text() returns one string separated by newlines;
render_lines() returns one string per row.
render_text(panel(label("Finished"), title = "Job"), width = 20, height = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.