R 闪亮的大片重叠
我正在制作一些相当大的图(大约100个条形图的网格)。我使用垂直布局,默认值为R 闪亮的大片重叠,r,layout,shiny,R,Layout,Shiny,我正在制作一些相当大的图(大约100个条形图的网格)。我使用垂直布局,默认值为fluid=TRUE。我在服务器功能中设置了大小 output$hist7技巧是在ui中指定相同的打印大小:plotOutput(“hist6”,高度=1000,宽度=800)修复应该是 用户界面 服务器.R output$plot2 <- renderPlot({ p <- ggplot(...) + geom_bar(stat="identity", ...) p }, width
fluid=TRUE
。我在服务器功能中设置了大小output$hist7技巧是在ui中指定相同的打印大小:plotOutput(“hist6”,高度=1000,宽度=800)
修复应该是
用户界面
服务器.R
output$plot2 <- renderPlot({
p <- ggplot(...) + geom_bar(stat="identity", ...)
p
}, width = 700, height = 600)
output$plot2我成功地在plotOutput
中使用了inline=TRUE
参数,然后在绘图和文本之间添加了一个br()
。例如:
column(
plotOutput("my.plot", inline = TRUE),
br(),
h1("my text here")
)
column(
plotOutput("my.plot", inline = TRUE),
br(),
h1("my text here")
)