Why not Rmarkdown [0], in which you can also write LaTeX code, and if you want presentation with beamer, you just have to change a single line, so you could generate beamer presentation, html, pdf and doc from the same file. I don't even use RStudio, I just have a keybind in vim [1].
As other said, most of the times, if you are producing them, just produce them right, or choose other formats.
If you don't then pray for the best.