~/talk

Highlights of the Knitr Package

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [documentation]
name:Yihui Xie
links:none on file
slides:none on file

Knitr adds a multiline chunk‑option syntax using #| chunk‑option comments (YAML form supported and convert_chunk_header() available), option reuse via opts.label and ref.label (use I() to copy both options and code), and a file option to read one or more external scripts as the chunk body. New engines include comment, verbatim (with lang for syntax highlighting), embed, and exec — exec writes the chunk to a temp file and runs an arbitrary command with engine.opts for extra args.

AI-written summary · about

  1. 0:00Start
  2. 3:23I. Write chunk options in chunk body
  3. 6:12Convert the old syntax to new syntax
  4. 6:34Reuse chunk options and/or content from other chunks
  5. 8:27Reuse both chunk options & content
  6. 9:20Quick tips
  7. 12:18New engines in knitr
  8. 14:53The embed engine to embed external files and display their content verbatim.
  9. 16:01The exec engine to execute an arbitrary system command on a file that contains the content of the chunk. The command is specified via the chunk option command, e.g..
  10. 19:00Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.