output$boxPlot <- renderPlot({
boxplot(input$fileSelect$input$cateSelect, main = "Box plot", ylab = "KJ")
})
I am doing a interface that the user can select which file and which column of the data they want to plot. I was using a if condition to solve this issue but is there any better way to solve this?