Description Usage Arguments Details
Helper functions for write2
.
1 2 3 | verbatim(...)
code.chunk(..., chunk.opts = "r")
|
... |
For |
chunk.opts |
A single character string giving the code chunk options. Make sure to specify the engine! |
The "verbatim"
class is to tell write2
to print the object inside
a section surrounded by three back ticks. The results will look like it would in the terminal (monospaced).
code.chunk()
is to write explicit code chunks in the .Rmd
file; it captures the call and writes it to the
file, to execute upon knitting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.