Learn R Programming

shinysky (version 0.1.3)

renderHotable: renderHotable

Description

Renders the hotable.

Usage

renderHotable(expr, env = parent.frame(), quoted = FALSE,
  options = NULL, readOnly = TRUE)

Arguments

expr

The computation that leads to an output

env

The R environment in which to create the dataset

quoted

Pass to the exprToFunction

options

Pass to the exprToFunction

readOnly

A vector of TRUE/FALSE values to indicate which of the columns should be read-only.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# these example will only run inside a shiny app

### ui.R
#' hotable("hotable1")
#This will create a handsontable which you can output using 
output$hotable1 <- renderHotable({...})

### server.R
something <- reactive({
    hot.to.df(input$hotable1) # this will convert your input into a data.frame
})
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab