s[enter image description here][1]server.R
df <- read.csv("")
output$out1 <- renderUI({ 
    params <- colnames(df)
    # These are the colum names goes as a list into the selectInput..
    param_list <- params  
    # Dynamically create dropdown box
    selectInput("params", label = "Choose a variable to Observe", choices = param_list)
    # print(param_list)
})
stateDataSubset <- reactive({
    input$params
    dataSetVariable <- input$params
 })
I am trying to use the input$param which is dynamically created in another function at another reactive function, not sure why I am getting this error as similar code in the past has worked. params is there in output$out1, now I want that input in stateDataSubset function.

 
     
    