0
我使用conditionalPanel
創建第一呈現的選項給用戶的面板的UI,然後顯示使用tabsetPanel
選項卡式儀表板。如下所示添加另一個tabPabel
的簡單行爲會以某種方式阻止server.R文件運行。我測試過使用打印語句。這看起來像Shiny應用程序正在打破,但我找不到語法錯誤或任何理由。ř閃亮conditionalPanel奇數行爲
conditionalPanel(
condition = "output.panel == 'view.data'",
tabsetPanel(id = "type",
tabPanel("Script", value = "script",
fluidPage(
br(),
fluidRow(
column(3, uiOutput("script.name")),
column(3, uiOutput("script.message"))
),
hr(),
plotlyOutput("plotly")
)
),
tabPanel("Location", value = "location",
fluidPage(
br(),
fluidRow(
# column(3, uiOutput("id.range"))
),
hr(),
plotlyOutput("plot")
)
)
# when this tabPanel is uncommented it doesn't work
# ,tabPanel("Accelerometer", value = "accelerometer",
# fluidPage(
# br(),
# hr(),
# plotlyOutput("plot")
# )
#),
)
)
謝謝!這是問題所在。 – asmalluser