title: ggplot2 add two plots in grid.arrange with an inset in the second one in R
body: <p>I'm able to print an inset and to create a grid from plots in ggplots. But I'm not able to create a grid with a plot on the left and 2 plots on the right one full size and the other in "inset". </p>
  
  <pre><code>a_plot &lt;- ggplot(cars, aes(speed, dist)) + geom_line()
  
  #The inset 
  print(a_plot);print(a_plot, vp = vp)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/q3GRa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q3GRa.png" alt="enter image description here"></a></p>
  
  <pre><code># the Grid
  lay &lt;- rbind(c(1,1,1,2,2,2),
               c(1,1,1,2,2,2),
               c(1,1,1,2,2,2),
               c(1,1,1,2,2,2))
  grid.arrange(a_plot, a_plot,layout_matrix = lay)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/vJbtj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vJbtj.png" alt="enter image description here"></a></p>
  
  <p>But I would like to have this: </p>
  
  <p><a href="https://i.stack.imgur.com/Xy7au.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xy7au.png" alt="enter image description here"></a></p>
  
  <p>How can I do this? </p>
  
  <p>This doesn't work</p>
  
  <pre><code>grid.arrange(a_plot, a_plot,print(a_plot, vp = vp),layout_matrix = lay)
  </code></pre>
  
  <p>I tried <a href="https://stackoverflow.com/questions/33305106/in-r-how-can-i-store-an-inset-graph-for-later-arranging-it-with-grid-arrange?rq=1">this</a> and it didn't work either.</p>