Keep images of plots for PDF output of RMarkdown

rmarkdown

#1

When generating PDF output of a Rmd file including a plot, the plot gets deleted.

It is emotionally very sad to see all the nice plots being generated and then again deleted in the end.

I would like to keep it and extensive web search pointed me towards using the clean=FALSE option of the render() function.

Since I usually use just the "Build" tab in the RStudio IDE, is there a way to include this option there?