Software information and conventions
The knitr package (Xie 2014, 2015, 2025b) and the bookdown package (Xie 2025a) were used to compile this text. The R session information is shown below:
## R version 4.5.0 (2025-04-11 ucrt)
## Platform: x86_64-w64-mingw32/x64
## Running under: Windows 11 x64 (build 22631)
##
## Locale:
## LC_COLLATE=English_United States.utf8
## LC_CTYPE=English_United States.utf8
## LC_MONETARY=English_United States.utf8
## LC_NUMERIC=C
## LC_TIME=English_United States.utf8
##
## Package version:
## base64enc_0.1.3 bookdown_0.43
## bslib_0.9.0 cachem_1.1.0
## cli_3.6.5 compiler_4.5.0
## digest_0.6.37 evaluate_1.0.3
## fastmap_1.2.0 fontawesome_0.5.3
## fs_1.6.6 glue_1.8.0
## graphics_4.5.0 grDevices_4.5.0
## highr_0.11 htmltools_0.5.8.1
## jquerylib_0.1.4 jsonlite_2.0.0
## knitr_1.50 lifecycle_1.0.4
## memoise_2.0.1 methods_4.5.0
## mime_0.13 R6_2.6.1
## rappdirs_0.3.3 rlang_1.1.6
## rmarkdown_2.29 rstudioapi_0.17.1
## sass_0.4.10 stats_4.5.0
## tinytex_0.57 tools_4.5.0
## utils_4.5.0 xfun_0.52
## yaml_2.3.10
Package names and inline code are formatted in a typewriter font (e.g., knitr
, lm(Y ~ X)
), and function names are followed by parentheses (e.g., lm()
).
References
Xie, Yihui. 2014. “Knitr: A Comprehensive Tool for Reproducible Research in R.” In Implementing Reproducible Computational Research, edited by Victoria Stodden, Friedrich Leisch, and Roger D. Peng. Chapman; Hall/CRC.
———. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. https://yihui.org/knitr/.
———. 2025a. Bookdown: Authoring Books and Technical Documents with r Markdown. https://github.com/rstudio/bookdown.
———. 2025b. Knitr: A General-Purpose Package for Dynamic Report Generation in r. https://yihui.org/knitr/.