Learn R Programming

excelR (version 0.4.0)

renderExcel: Helper function for using jexcel table in Shiny

Description

Shiny bindings for excel table

Usage

renderExcel(expr, env = parent.frame(), quoted = FALSE)

Arguments

expr

an expression that generates an excelTable.

env

the environment in which to evaluate expr.

quoted

is expr a quoted expression(with quote())? This is useful if you want to save an expression in a variable.

See Also

excelOutput

Examples

Run this code
# 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