rp.widget.dispose | R Documentation |
This will dispose/remove a widget from a panel.
rp.widget.dispose(panel, name)
panel |
the panel on which the text should disappear. |
name |
the name assigned to the widget on creation. |
This will dispose of a widget and its memory usage.
rpanel: Simple interactive controls for R functions using the tcltk package. Journal of Statistical Software, 17, issue 9.
rp.control
## Not run: p1 <- rp.control() rp.button(p1, I, "press me", name="b1") rp.widget.dispose(p1, "b1") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.