Follow these steps:
- Import the data into R
- Check if the list of elements is in fata.frame format, if not convert it into it.
- To dynamically select elements use selectInput function.
- To dynamically use the table, use the function renderTable.
Something like this:
ui.R
box(
selectInput("ip_name", "Select input:", choices = names(l))
server.R
Element <- reactive({
input$ip_name
})
output$table <- renderTable({
data.frame(l[[input$ip_name]])
})