Preview the report written in Markdown "http://rpubs.com/loness/167347", which is HTML format, you can also export word, PDF, but the text can not be exported in Chinese, but the use of "PDF virtual printer", How to use it? --Baidu a bit
① Download: 1. Rstudio
2. R Package
3. Pandoc "can also be downloaded in My network: Link: Http://pan.baidu.com/s/1geH06RL Password: Jao8"
② Open Rstudio, run the following command in the console (the R package version is too low to execute successfully, need to download a new version, my version is 3.2.4)
Source ("http://bioconductor.org/biocLite.R") Bioclite () bioclite (" Knitr ")
③ in Rstudio Follow the instructions below to modify the settings (Tools->global Options)
④ New R Markdown
⑤ If an error follows, follow the prompts to download the appropriate package "install.packages (" package name ")"
⑥ after installing the required package, you can write our report "detailed Markdown syntax can be seen here: Markdown syntax explanation (Simplified Chinese version)"
Text can be written casually, R code block inserted into
' {R} your r code '
Fast generation of R language reports (Markdown+rstudio)