use_r | R Documentation |
Create or edit an R file
use_r(name = NULL, open = rlang::is_interactive())
name |
Either a name without extension, or |
open |
Whether to open the file for interactive editing. |
If an R file does not already exist, creates an R file.
If open
is TRUE
, opens the R file.
usethis::use_r()
, which this function is modified from
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.