Like LATEX with Sweave code chunks can be included. This is understandably confusing since the R Markdown source uses LaTeX-style markup for the math but thats basically just a convenience since LaTeX-style math markup is perhaps most familiar to end-users. The knitr package extends the basic markdown syntax to include chunks of executable R code.
R Markdown files have the file extension Rmd.
Here is a brief introduction to using R Markdown. Also check out this LaTeX introduction. Installpackagesrmarkdown Now that R Markdown is installed open a new R Markdown file in RStudio by navigating to File New File R Markdown. To be clear LaTeX is not involved when the output format is Microsoft Word.