整個代碼/文件可以在這個answerShinydashboard從<a href="https://rstudio.github.io/shinydashboard/structure.html#disabling-the-header" rel="nofollow noreferrer">here</a>刪除多餘的空間時,頭部被禁用
UI.R file
library(shiny)
library(shinydashboard)
shinyUI(
dashboardPage(
dashboardHeader(disable = TRUE), #title=textOutput("title")),
dashboardSidebar(uiOutput("side")),
dashboardBody(
uiOutput("page")
)))
但是可以發現,我想在我的儀表盤禁用頭,與幫助下,我成功地禁用,但隨後我的儀表板中添加了一些空白區域。 (見圖像,橙色高框)。
我該如何擺脫這個?這不僅在登錄頁面,即使登錄後問題仍然存在。
謝謝,但一旦我再次登錄它恢復到舊狀態。此外,側欄面板不會在標題的位置向上移動。非常感謝! – Vasim
可以添加到您的問題一個最小的可重現的問題的例子? – Geovany
[這裏](http://stackoverflow.com/questions/33814656/different-pages-in-shiny-app)回答,是我用過的確切代碼 – Vasim