title: How to suppress the code but have the plots displayed in R markdown?
body: <p>I have a very long plot code written out in R markdown. I do not want the code to be displayed, but I want to the graphs to be displayed.</p>
  
  <p>I used <a href="http://kbroman.org/knitr_knutshell/pages/Rmarkdown.html" rel="nofollow noreferrer">this</a> advice and have this in my R chunk</p>
  
  <pre><code>```{r, include=FALSE, results="hide", fig.width=8, fig.height=6}
  x = c(1:10)
  y = c(40:50)
  plot(x~y)
  ````
  </code></pre>
  
  <p>However, this simply does not give any output on the knitted file. Any suggestions?</p>