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 |
|
rmarkdown-quarto |
Highlights of the knitr package from the past two years |
Highlights of the knitr package from the past two years |
|
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.