Opens a file for editing in RStudio, if that is the active environment, or
utils::file.edit() otherwise. If the file does not exist, it is
created. If the parent directory does not exist, it is also created.
edit_template() specifically opens templates in
inst/templates for use
1 2 3
Path to target file.
Whether to open the file for interactive editing.
The target template file. If not specified, existing template files are offered for interactive selection.
Target path, invisibly.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.