Consider the following rmarkdown html_notebook example:
---
output: html_notebook
runtime: shiny
---
```{r}
library(ggplot2)
library(shiny)
blank1 <- renderPlot({ ggplot() + labs(title = "Plot 1") })
blank2 <- renderPlot({ ggplot() + labs(title = "Plot 2") })
blank3 <- renderPlot({ ggplot() + labs(title = "Plot 3") })
column(6, blank1, blank2)
column(6, blank3)
```
I would like to have the plots display as:
I have tried a few things including:
fluidRow(
column(6, blank1, blank2),
column(6, blank3)
)
But I have not been able to get Plot 3
to span multiple rows.
Additional Notes (per comments):
- I would welcome a
cowplot
orpatchwork
solution, but I require reactivity fromshiny
(e.g.ggplot(aes(x = input$var_select)) + ...
. - Ideally, I would like to leverage
column()
and/orfluidRow()
to keep of the responsive-design aspects.