You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ui <- shinyUI(
fluidPage(
sliderInput("nTerms", "Number of terms to display", min = 20, max = 40, value = 30),
visOutput('myChart'),
sliderInput("nTerms", "Number of terms to display", min = 20, max = 40, value = 30),
visOutput('myChart1')
)
)
shinyApp(ui = ui, server = server)
The text was updated successfully, but these errors were encountered:
I am also running into the exact same issues. I also ran the above code and noticed that the lambda slider for second output is linked to the first output only. Seems like Lambda slider component doesn't know which output has made the call.
Hi @cpsievert Sorry to bug you. Just read on some other issues that issue of multiple outputs to Shiny has been fixed. Wanted to confirm you if that is indeed the case as I still am getting the same error.
Thank you for your answers in advance!
The following is an example:
library(LDAvis)
library(shiny)
server <- shinyServer(function(input, output, session) {
output$myChart <- renderVis({
with(TwentyNewsgroups,
createJSON(phi, theta, doc.length, vocab, term.frequency,
R = input$nTerms))})
output$myChart1 <- renderVis({
with(TwentyNewsgroups,
createJSON(phi, theta, doc.length, vocab, term.frequency,
R = input$nTerms))})
})
ui <- shinyUI(
fluidPage(
sliderInput("nTerms", "Number of terms to display", min = 20, max = 40, value = 30),
visOutput('myChart'),
sliderInput("nTerms", "Number of terms to display", min = 20, max = 40, value = 30),
visOutput('myChart1')
)
)
shinyApp(ui = ui, server = server)
The text was updated successfully, but these errors were encountered: