here_doc | R Documentation |
Wraps a script with shell commands to write it to a file. Sometimes referred to as a "here document"
here_doc(script, file_name, eof)
script |
A vector of strings, usually each a shell command. |
file_name |
A string giving the file name to use. Careful not to conflict with an existing file name as it will be silently deleted and overwritten. |
eof |
A string to use for end-of-file. Must not occurr within the script and must be unique among potential nested uses of this function for a script. |
A vector of strings, each string a line of the script.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.