I would like to store the values of a set of numeric inputs into a single hash so that whenever the user changes one of them the hash is updated, kind of:
shinyServer(function(input, output, session) {
tpl_info_A = reactive({hash(
"TPL_EmissionsLimit" = input$total_emissions
)})
#OUTPUT
output$display <- renderPrint({
return(as.character(tpl_info_A[["TPL_EmissionsLimit"]]))
#return(as.character(input$total_emissions))
})
...
but when I try to look at the value via the hash as in the display I get:
Error: object of type 'closure' is not subsettable
what am I missing?
Thanks for your help!