Software information and conventions

The R session information when compiling this book is shown below:

xfun::session_info(c(
  'blogdown', 'bookdown', 'knitr', 'rmarkdown', 'htmltools',
  'reticulate', 'rticles', 'flexdashboard', 'learnr', 'shiny',
  'revealjs', 'pkgdown', 'tinytex', 'xaringan', 'tufte'
), dependencies = FALSE)
## R version 4.0.3 (2020-10-10)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.1 LTS
## 
## Locale:
##   LC_CTYPE=en_US.UTF-8      
##   LC_NUMERIC=C              
##   LC_TIME=en_US.UTF-8       
##   LC_COLLATE=en_US.UTF-8    
##   LC_MONETARY=en_US.UTF-8   
##   LC_MESSAGES=en_US.UTF-8   
##   LC_PAPER=en_US.UTF-8      
##   LC_NAME=C                 
##   LC_ADDRESS=C              
##   LC_TELEPHONE=C            
##   LC_MEASUREMENT=en_US.UTF-8
##   LC_IDENTIFICATION=C       
## 
## Package version:
##   blogdown_0.21       bookdown_0.21      
##   flexdashboard_0.5.2 htmltools_0.5.0    
##   knitr_1.30          learnr_0.10.1      
##   pkgdown_1.6.1       reticulate_1.18    
##   revealjs_0.9        rmarkdown_2.5      
##   rticles_0.17        shiny_1.5.0        
##   tinytex_0.27        tufte_0.8          
##   xaringan_0.18      
## 
## Pandoc version: 2.10.1

We do not add prompts (> and +) to R source code in this book, and we comment out the text output with two hashes ## by default, as you can see from the R session information above. This is for your convenience when you want to copy and run the code (the text output will be ignored since it is commented out). Package names are in bold text (e.g., rmarkdown), and inline code and filenames are formatted in a typewriter font (e.g., knitr::knit('foo.Rmd')). Function names are followed by parentheses (e.g., blogdown::serve_site()). The double-colon operator :: means accessing an object from a package.

“Rmd” is the filename extension of R Markdown files, and also an abbreviation of R Markdown in this book.