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.
I used this advice and have this in my R chunk
```{r, include=FALSE, results="hide", fig.width=8, fig.height=6}
x = c(1:10)
y = c(40:50)
plot(x~y)
````
However, this simply does not give any output on the knitted file. Any suggestions?