Develop an R markdown report in RStudio
There are three kinds of basic contents of an R markdown document:
- Text chunks
- Inline R code
- Code chunks
A brief introduction to markdown
Now that you have deleted all of the content originally provided within the template, you actually find yourself in some kind of text field where it is possible to write down characters as in a common .txt
file. To be more precise though, what you are going to write here will not be interpreted as common text but rather as Markdown code. Behind this name, there is a really convenient technical solution developed by John Gruber to provide people with a way to write in plain text documents that could lately be rendered as LaTeX, .pdf
, or even .html
.
Basically, when you write in markdown, you don't have to worry about formatting or alignment anymore, since this will be eventually handled from subsequent rendering instruments, such as the rmarkdown
functions in this case. All you have to worry about is specifying the headings...