是否可以从Shiny应用程序中删除mainPanel? 我的意思是,如果我想要一个大的sidePanel(没有任何mainPanel区域),我应该怎么做? 我试着简单地写:
mainPanel()但它不起作用(它只是清空该区域......)。
有什么建议么?
Is it possible to remove a mainPanel from a Shiny app? I mean, if I want a big sidePanel (without any mainPanel area), how should I do it? I have tried simply to write:
mainPanel()but it doens't work (it just empties the area...).
Any suggestions?
最满意答案
我想象一下为什么你会想要这个:)你能告诉我们你打算如何使用这个应用程序吗? 一些选择:
您可以在ui.R中使用basicPage而不是pageWithSidebar这里讨论的Shiny还有一些(相对)新的布局功能。 你需要使用Shiny 0.8.0.99:
install.packages( 'devtools'); 库(devtools); install_github( '光泽', 'rstudio')
I am trying to imagine why you would want this :) Can you tell us how you plan to use the app? Some options:
You could use basicPage instead of pageWithSidebar in ui.RThere are also some (relatively) new layout features in Shiny discussed here. You would need to use Shiny 0.8.0.99:
install.packages('devtools'); library(devtools); install_github('shiny','rstudio')
更多推荐
发布评论