Truncates or creates the file before writing, and sets deferred deletion of the file to occur when the specified environment is destroyed. By default, the invoking environment is set.
1 | write_lines_cleanup(path, ..., env = parent.frame())
|
path |
Path of the file to create. |
... |
One or more character vectors of lines to write, NULLs are skipped. |
env |
Environment to set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.