我有一个文本输出(它只是一个数字),我想在条件面板中使用它。在server.R中,我将输出定义为
output$mymse <- renderText({
xvals.out()
})
然后我尝试在ui.R中调用它,如下所示:
conditionalPanel("input.sliderTwo != 0",
h5("I would like to have the textOutput below"),
textOutput("mymse"),
sliderInput("sliderThree", label = "Question 3", min = 0, max = 4, value = 0, step = 1)))