I have a ten input values names inputs$Art1,...,input$Art10 that I am using to update values in a data.frame. Rather than write versions of the below 10 times, once for each input, is there a way to make the input dynamic. I get an object not found error this way:
I can confirm that the input[["id.goes.here"]] method works. And if the ids you are interested in are in a string vector called ids, you can get them all with code like:
for(id in ids) {
rawInput <- input[[id]]
... (then you should sanitize the rawInput by stripping HTML etc.)
...
}