Skip to content

Latest commit

 

History

History
51 lines (47 loc) · 2.15 KB

highlights-of-knitr-package-past.md

File metadata and controls

51 lines (47 loc) · 2.15 KB
talk_id talk_slug talk_type talk_tags session_slug talk_title talk_title_short talk_materials_url speakers
22181
highlights-of-knitr-package-past
regular
communication
programming
rmarkdown-quarto
Highlights of the knitr package from the past two years
Highlights of the knitr package from the past two years
name affiliation url username photo bio
Yihui Xie
RStudio, PBC
webpage twitter github linkedin affiliation
yihui_xie.1v84pjlj
/assets/img/2022Conf/_talks/22181_yihui-xie.png
Yihui Xie is a software engineer at RStudio. He earned his PhD from the Department of Statistics, Iowa State University. He has authored and co-authored several R packages, such as knitr, rmarkdown, bookdown, blogdown, and xaringan. He has published a number of books, including “Dynamic Documents with R and knitr”, “bookdown: Authoring Books and Technical Documents with R Markdown”, “blogdown: Creating Websites with R Markdown”, “R Markdown: The Definitive Guide”, and “R Markdown Cookbook.”

In this talk, I will highlight a few selected new features of the knitr package introduced in the past two years including: 1) the new way to write chunk options as "#|" comments in the chunk body; 2) new ways to reuse both chunk body and chunk options from another code chunk; 3) a few useful new engines, namely comment (comment out arbitrary content), verbatim (write arbitrary verbatim content), embed (embed external files and display their content verbatim), and exec (execute an arbitrary command); and 4) a few new chunk options such as file (to include external files as the chunk body) and lang. Hopefully these new features can help both knitr users and developers make better use of knitr.