Fix another missing ()

This commit is contained in:
Winston Chang
2013-10-02 11:27:05 -05:00
parent c19405f9e0
commit 66cf84456d

View File

@@ -109,7 +109,7 @@ Keep in mind that if your application tries to access reactive values or express
shinyServer(function(input, output) {
# Will give error
currentFib <- fib(as.numeric(input$n))
output$nthValue <- renderText({ currentFib })
output$nthValue <- renderText({ currentFib() })
})
{% endhighlight %}