| label | R Documentation |
Text label
label(text = "", id = NULL, classes = NULL, style = NULL, wrap = NULL)
text |
A string, a character vector (one element per line), a
number, or |
id |
Optional identifier (for |
classes |
Optional classes (for |
style |
A |
wrap |
Shortcut for |
A Label widget. Change its text with $update() or by
assigning $text.
lbl <- label("Hello", style = style(bold = TRUE))
lbl$update("Goodbye")
render_widget(lbl, 10, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.