View source: R/create_variable_name.R
create_variable_name | R Documentation |
ChatGPT: Create Variable Name
create_variable_name(code = clipr::read_clip(allow_non_interactive = TRUE))
code |
The code for which to give a variable name to its result. If not provided, it will use what's copied on the clipboard. |
A character value with the response generated by ChatGPT.
## Not run:
cat(create_variable_name("sapply(1:10, function(i) i ** 2)"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.