Description Slots Author(s) See Also
The ScriptTemplate
class is used to store properly the script template. It consists of various blocs, each for each type (numeric, factor...)
language
A length-one character vector. The extension of the language used in the template. Should be R
, Rmd
or Rnw
original_script
The original script
blocs
A list. Each element of the list is a character vector with the lines for a type.
Joris Muller
The main function to construct a ScriptTemplate
object is import_template
. The constructor is script_template
. More information about template in the dedicated documentation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.