title: Shiny conditionalPanel - condition doesn't work (output condition)
body: <p>I'm trying to use a conditionalPanel in Shiny based on an output generated in my server.R code. I can't use an input because this does not suit my needs.
  I have based my code on the example I have found on the following website: <a href="http://rstudio.github.io/shiny/tutorial/#dynamic-ui" rel="nofollow">http://rstudio.github.io/shiny/tutorial/#dynamic-ui</a></p>
  
  <p>UI.R code:</p>
  
  <pre><code>tabSubMenuSaveData &lt;-
    tabItem("subMenuSaveData",      
            conditionalPanel(
              condition = "output.test",  
                uiOutput(outputId = "ui_save_data")
            )
    )
  </code></pre>
  
  <p>Server.R code:</p>
  
  <pre><code>dataset &lt;- reactive({
    datasets()$datasetlist[[input$datasetSelector]]
  })
  
  output$test &lt;- reactive({
    print("Test")
    nrow(dataset())
  })
  </code></pre>
  
  <p>-> dataset() provides the currenly selected dataset in my Shiny app.</p>
  
  <p>It seems that my application doesn't even get to the output$test part because it doesn't show my print. It should go here whenever I press on the Save data tab.</p>
  
  <p>If someone could provide me with the solution or explain me why my application doesn't get to the output$test part, I would be very grateful.</p>