excelOutput {excelR}R Documentation

Helper function for using jexcel table in Shiny

Description

Shiny bindings for excel table

Usage

excelOutput(outputId, width = "100%", height = "400px")

Arguments

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.

See Also

renderExcel

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]