
Last chance! 50% off unlimited learning
Sale ends in
Shiny bindings for excel table
renderExcel(expr, env = parent.frame(), quoted = FALSE)
an expression that generates an excelTable.
the environment in which to evaluate expr.
is expr a quoted expression(with quote())? This is useful if you want to save an expression in a variable.
# NOT RUN {
if(interactive()) {
library(shiny)
library(excelR)
shinyApp(
ui = fluidPage(excelOutput("table")),
server = function(input, output, session) {
output$table <-
renderExcel(excelTable(data = head(iris)))
}
)
}
# }
Run the code above in your browser using DataLab