Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 闪亮的大片重叠_R_Layout_Shiny - Fatal编程技术网

R 闪亮的大片重叠

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

我正在制作一些相当大的图(大约100个条形图的网格)。我使用垂直布局,默认值为
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")
)