Function to evaluate (
eval=TRUE) or not evaluate (
eval=FALSE) R chunk codes in the Rmarkdown file. This function does not run the code, just toggles between
FALSE the option
eval and writes out a new file with the chosen option.
name and path of the infile file, format
whether to evaluate the code and include its results. The default is
name and path of the output file. File format
Writes Rmarkdown file containing the exact copy of the
infile file with the option choose on the
It will be easy to toggle between run all the R chunk codes or not.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.