我一直试图弄清楚如何在R闪亮的handson表中启用行移动。如此处所述:https://handsontable.com/docs/6.2.1/demo-moving.html。我似乎无法弄清楚如何将参数传递给Handson表。
library(shiny)
library(rhandsontable)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("rhandsontable test"),
# Show a plot of the generated distribution
mainPanel(
rHandsontableOutput("test")
)
)
# Define server logic required to draw a histogram
server <- function(input, output) {
output$test <- renderRHandsontable({
rhandsontable(iris)
})
}
# Run the application
shinyApp(ui = ui, server = server)