What is R Markdown?
- markdown is used exclusively for text and formatting
- Check out the markdown formatting key
(my_first_markdown_file.md) for more information on formatting. :)
- R markdown includes both markdown as well as R
code
- some useful Rmarkdown conventions:
- - - - denotes the YAML header
- ```{r} denotes R code
- everything else is markdown
- click knit to preview the file
How to insert R code
code > insert chunk
print("hello world")
## [1] "hello world"