前言

自去年下半年,一次偶然机会与周院长闲聊,就规划着把课题组这么多年的成果整理成一本书,但由于之后一年事情繁多,就给搁置了。 为了避免无限期推迟,现在把工作平台搭好,预先利其事必先利其器,以便随时记录。

本书借助R中非常有用的两个packages,分别是 knitr (Xie 2018b)bookdown (Xie 2018a)
R 版本信息如下:

sessionInfo()
## R version 3.5.2 (2018-12-20)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 17134)
## 
## Matrix products: default
## 
## locale:
## [1] LC_COLLATE=Chinese (Simplified)_China.936 
## [2] LC_CTYPE=Chinese (Simplified)_China.936   
## [3] LC_MONETARY=Chinese (Simplified)_China.936
## [4] LC_NUMERIC=C                              
## [5] LC_TIME=Chinese (Simplified)_China.936    
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets 
## [6] methods   base     
## 
## other attached packages:
## [1] RevoUtils_11.0.2     RevoUtilsMath_11.0.0
## 
## loaded via a namespace (and not attached):
##  [1] Rcpp_0.12.19      bookdown_0.7     
##  [3] digest_0.6.18     magrittr_1.5     
##  [5] evaluate_0.12     stringi_1.1.7    
##  [7] rstudioapi_0.7    rmarkdown_1.10.14
##  [9] htmldeps_0.1.1    tools_3.5.2      
## [11] stringr_1.3.1     xfun_0.3         
## [13] yaml_2.2.0        compiler_3.5.2   
## [15] htmltools_0.3.6   knitr_1.20       
## [17] rtvs_1.0.0.0

进度安排

不定期记录

2019-05-18 Xi’an

参考文献

Xie, Yihui. 2018b. Knitr: A General-Purpose Package for Dynamic Report Generation in R. https://CRAN.R-project.org/package=knitr.

Xie, Yihui. 2018a. Bookdown: Authoring Books and Technical Documents with R Markdown. https://CRAN.R-project.org/package=bookdown.