Full size shiny app in an ioslides markdown presentation slide
<p>Trying to figure out how to have a full size shiny app in an ioslides markdown. I have something almost working, but it is a bit ad-hoc. I am also not confident it will reproduce when I show the presentation on a larger resolution screen (as I use <code>px</code> in the <code>div</code>)?:</p>

<pre><code>---
title: "My Title"
author: "My Name"
date: "29 March 2016"
runtime: shiny
output: 
  ioslides_presentation
---
##  

&lt;div style="margin-left:-50px; margin-top:-50px; width:80%; height:100%"&gt;
```{r, echo=FALSE, message=FALSE, fig.width=8}
inputPanel(
  selectInput("n_breaks", label = "Number of bins:",
              choices = c(10, 20, 35, 50), selected = 20),

  sliderInput("bw_adjust", label = "Bandwidth adjustment:",
              min = 0.2, max = 2, value = 1, step = 0.2)
)

renderPlot({
  hist(faithful$eruptions, probability = TRUE, breaks = as.numeric(input$n_breaks),
       xlab = "Duration (minutes)", main = "Geyser eruption duration")

  dens &lt;- density(faithful$eruptions, adjust = input$bw_adjust)
  lines(dens, col = "blue")
})
```
&lt;/div&gt;
</code></pre>

<p>giving:</p>

<p><a href="https://i.stack.imgur.com/j2MDo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j2MDo.png" alt="enter image description here"></a></p>

<p>which kind of uses up some of the large margin space (as desired) but still does not cover the whole slide.</p>