htmlTableWidget-shiny | R Documentation |
Output and render functions for using htmlTableWidget within Shiny applications and interactive Rmd documents.
htmlTableWidgetOutput(outputId, width = "100%", height = "400px")
renderHtmlTableWidget(expr, env = parent.frame(), quoted = FALSE)
outputId |
output variable to read from |
width , height |
Must be a valid CSS unit (like |
expr |
An expression that generates a |
env |
The environment in which to evaluate |
quoted |
Is |
## Not run:
# In the UI:
htmlTableWidgetOutput("mywidget")
# In the server:
renderHtmlTableWidget({
htmlTableWidget(iris)
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.