Description Usage Arguments Examples
View source: R/output_to_file.R
Open contents in a new tempfile or file
1 | output_to_file(content, file_path)
|
content |
Some (text) content to go into the new file |
file_path |
Specifies a file path and file name. |
1 2 3 4 5 | ## Not run:
code_sample <- "#Sample code\nx <- 6\n2 * 2"
output_to_file(code_sample)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.