This blog shows a very clear tutorial on how connecting R-sweave to your Latex system. R-sweave (you can see it in the “New” button >> “R Sweave”) is a facility in R environment to generate neat report based on your R code. This function allows us to make a document report of your R codes, on Latex format. The fun thing is R-sweave will run your codes then put it in your Latex doc report automatically.
For you that are “still” using MS Word, you’ll have to copy-paste your R codes to the Word doc back and forth (but there’s “Pandoc” or “Pander” package that do the converting for you.
Thanks to Friedrich Leisch for sharing the tutorial.