selectInput("dataset", "",
choices = c("A", "B", "C"), # A to C are datasets in memory
selected = "B")
conditionalPanel("input.tabs === 'tab'",
checkboxGroupInput("checkboxes", "",
names(?), # I want the column names of the selected dataset
selected = names(?))) # and here too