Reputation: 5088
I would like to get the value of a reactive input on the server side. How can I do this?
I tried the following:
# shinyServer code
rv <- reactive( as.integer( input$value ) ) # integer input value
print(rv)
However, this does not print the underlying value of the reactive.
What am I doing wrong?
Thanks
Upvotes: 1
Views: 590
Reputation: 17689
reactives you can access like this:
observe({
print(rv())
})
Upvotes: 1