knit_global | R Documentation |
This function makes the environment of a code chunk accessible inside a chunk.
knit_global()
It returns the envir
argument of knit
, e.g. if we call
knit()
in the global environment, knit_global()
returns
R's global environment by default. You can call functions like
ls()
on this environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.