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].