Skip to content

Instantly share code, notes, and snippets.

@vnijs
vnijs / server.R
Last active February 5, 2023 07:14
Example of selectize drag-and-drop in Shiny 0.12.2.9000 or higher
library(shiny)
library(DT)
dat <- mtcars
shinyServer(function(input, output, session) {
output$ui_view_vars <- renderUI({
vars <- colnames(dat)
## using selectizeInput with drag_drop and DT