下面的示例将4个窗格中的4个组拼接在一起.但问题是他们似乎居住在一个网格中.是否可以控制闪亮输出中的图表大小?(即,当应用程序运行时右侧没有滚动条)我试图控制高度和宽度,但这似乎只能控制网格本身内的图像...任何想法?
谢谢
shinyUI(pageWithSidebar(
headerPanel("Example"),
sidebarPanel(
),
mainPanel(
tabsetPanel(tabPanel("Main",plotOutput("temp"))
)#tabsetPanel
)#mainPane;
))
shinyServer(function(input, output) {
output$temp <-renderPlot({
par(mfrow=c(2,2))
plot(1:10)
plot(rnorm(10))
plot(rnorm(10))
plot(rnorm(10))
}, height = 1000, width = 1000)
})
Run Code Online (Sandbox Code Playgroud)