This function is similar to
knit_child() but is used in R
scripts instead. When the main R script is not called via
spin(), this function simply executes the child script via
sys.source(), otherwise it calls
spin() to spin
the child script into a source document, and uses
to compile it. You can call this function in R code, or using the syntax of
inline R expressions in
Filename of the input R script.
A character string of the knitted R script.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.