Xiaorui(Jeremy) Zhu
01/08/2026
\(\color{red}{\text{If these questions ever bother you at least once, then you need to ...}}\)
The most recent version of R-studio has added the “R Markdown” file type as default. You can create an “R Markdown” file.
##, creates a second-level header, and so on.**easy to use** easy to use.[Data-Mining](https://xiaoruizhu.github.io/Data-Mining-R/).# Say Hello to **Data Mining** in Markdown
* [Data Mining in R on Github](https://xiaoruizhu.github.io/Data-Mining-R/)
* [Markdown Syntax](https://daringfireball.net/projects/markdown/basics)
* [StackOverflow](www.stackoverflow.com)
* [Reddit](www.reddit.com)
## R Markdown is a special type of Markdown in R
## Here are some codes
5 + 10
mean(income)
# Need to be surrounded by code chunck (```{r}...```), will give example
knitr is an R package that extends the markdown
syntax.knitr is to
include executable R code.knitr, the results of executed codes can be
automatically included in the output report, which is a great
feature.knit, the the results in your output report will be updated
with your new codes.Here’s some code
## [1] 150 5
Here’s a plot
More settings of the output of code chunks can be found rmarkdown and knitr websites.
To include some calculation by R code in a line, one can surround the codes as follows:
Two plus two equals 4. (Use a pair of backticks and the letter r like this: \(\color{red}{\text{` r 2+2 `}}\))