write_file | R Documentation |
This function differs from write_lines()
in that it writes the data in
text
directly, without any checking or adding any newlines.
write_file(text, path)
text |
A character vector of length 1 with data to write. |
path |
A character string giving the file path to write to. |
The UTF-8 encoded input text (invisibly).
tf <- tempfile()
write_file("some data\n", tf)
unlink(tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.