标签: shinydashboardplus

函数dashboardPagePlus()与最新的shinydashboardPlus版本不兼容

我使用此处的确切代码来运行shinydashboardPlus。但是当我尝试运行该应用程序时,我得到:could not find function "dashboardPagePlus"。我尝试了 CRAN 和 github 版本

# for the CRAN version
install.packages("shinydashboardPlus")
# for the latest version
devtools::install_github("RinteRface/shinydashboardPlus")
Run Code Online (Sandbox Code Playgroud)

我的会话信息是:

R version 4.0.4 (2021-02-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shinydashboardPlus_2.0.0 shinydashboard_0.7.1     shiny_1.6.0             

loaded via a namespace (and not attached): …
Run Code Online (Sandbox Code Playgroud)

r shinydashboard shinydashboardplus

6
推荐指数
1
解决办法
3491
查看次数

Shinydahsboardplus:如何添加没有标题的框?

最近更新ShinydasboardPlus(至 2.0)后,我无法box在没有标题和没有标题空间的情况下进行制作。

我试过了title = NULL, headerBorder = FALSE,仍然有这个空间。如何摆脱它?我想要一个只有内容的盒子,没有标题,没有标题空间。 在此输入图像描述

谢谢!

例子:

library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
ui <- dashboardPage(
  title = "Box API",
  dashboardHeader(),
  dashboardSidebar(),
  dashboardBody(
    box(
      title = NULL,
      headerBorder = FALSE,
      "Box body")
  )
)

server <- function(input, output, session) {
}

shinyApp(ui, server)
Run Code Online (Sandbox Code Playgroud)

r shiny shinydashboard shinydashboardplus

3
推荐指数
1
解决办法
1618
查看次数

标签 统计

r ×2

shinydashboard ×2

shinydashboardplus ×2

shiny ×1