r - Error in l$data : $ operator is invalid for atomic vectors shiny app -


s[enter image description here][1]server.r df <- read.csv("") output$out1 <- renderui({       params <- colnames(df)      # these colum names goes list selectinput..     param_list <- params        # dynamically create dropdown box     selectinput("params", label = "choose variable observe", choices = param_list)     # print(param_list)  })  statedatasubset <- reactive({      input$params     datasetvariable <- input$params   }) 

i trying use input$param dynamically created in function @ reactive function, not sure why getting error similar code in past has worked. params there in output$out1, want input in statedatasubset function.

enter image description here

you need provide proper example. rather explaining users have no idea of trying accomplish....please provide input , seps of code lead error. explanation " created in # function @ reactive function...." or saying " # want input in statedatasubset function." users have no idea not helpful.

and, answer error $ operator invalid atomic vectors, self explained. trying use $ access vector. avoid problem change whatever input data.frame. proper solution in code format provided if able explain problem example.


Comments

Popular posts from this blog

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -

javascript - jQuery: Add class depending on URL in the best way -