【问题标题】:shinyApp in flexdashboard show only in half screenflexdashboard 中的 shinyApp 仅以半屏显示
【发布时间】:2021-02-12 16:16:49
【问题描述】:

所以昨天我的应用程序运行良好,我在 flexdashboard 中使用了 shinyApp,屏幕没有问题。但是当我从 rstudio 更新最后一个闪亮包时,现在当我启动我的应用程序时,闪亮的应用程序只显示在半屏上。我的脚本没有任何改变。

有人可以帮帮我吗?

之前

更新后闪亮:

flexdashoard 中的脚本示例

【问题讨论】:

  • 请复制/粘贴您的代码而不是屏幕截图。拥有一个数据版本(可能是伪造的)对于复制也很有用。

标签: r shiny flexdashboard


【解决方案1】:

我遇到了同样的问题并尝试了很多选项,但是这种结构对我有用......我的问题只发生在我 knitr 或发布时,这就是为什么我认为在服务器和 UI 之外添加的选项是有效的。

---
title: "Change Up Ur Analytics"
runtime: shiny
output:
  flexdashboard::flex_dashboard:
      vertical_layout: scroll
      orientation: rows
---

             <data and libraries here >

    

shinyApp(ui= 

               < ui here inputs, outputs formats .. I use combinations of 
                  bs4Dash, fluidPage, fluidRows, css, html  and have sometimes used
                   the new bootstrap4  > 

,  

server = function(input, output) {


          < plot creation  and filters and more reactive  here > 


  }  ,options = list(height = 700)
) 

希望这会有所帮助....菲奥娜

【讨论】:

    猜你喜欢
    • 2021-01-28
    • 1970-01-01
    • 1970-01-01
    • 2020-07-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-13
    相关资源
    最近更新 更多