renderExcel {excelR}R Documentation

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

if(interactive()) {
  library(shiny)
  library(excelR)
  shinyApp(
    ui = fluidPage(excelOutput("table")),
    server = function(input, output, session) {
      output$table <-
     renderExcel(excelTable(data = head(iris)))
     }
   )
}

[Package excelR version 0.4.0 Index]