.Last.chunk
(if printed because things returned invisibly are not recorded). Configure Knitr to generate a .Last.chunk
object. Also set a "record" hook to record objects in the learnitgrid format for further inspection of the results.R/knitr_hook.R
hook_last_chunk.Rd
Change the Knitr renderer so that the last computed object is automatically
saved as .Last.chunk
, and to record results from a chunk with chunk options
record=
.
hook_last_chunk()
hook_record()
The opts_chunk
or the knit_hook
set accordingly.