inst/shiny/server.R

shinyServer(function(input, output, session) {
  output$plot1 <- renderPlot({
    uploaded_plot
  })

  # output$info <- renderPrint({
  output$info <- DT::renderDataTable({
    brushedPoints(df = uploaded_plot$data,
                  brush = input$plot_brush)
  })
})
kevinwang09/SmokyScotch documentation built on Aug. 25, 2022, 5:41 p.m.