Description Usage Arguments See Also Examples
Shiny bindings for excel table
1 | excelOutput(outputId, width = "100%", height = "400px")
|
outputId |
output variable to read from. |
width, height |
must be a valid CSS unit in pixel or a number, which will be coerced to a string and "px" appended. |
1 2 3 4 5 6 7 8 9 10 11 | if(interactive()) {
library(shiny)
library(excelR)
shinyApp(
ui = fluidPage(excelOutput("table")),
server = function(input, output, session) {
output$table <-
renderExcel(excelTable(data = head(iris)))
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.