powered by
ChatGPT: Create Variable Name
create_variable_name(code = clipr::read_clip(allow_non_interactive = TRUE))
A character value with the response generated by ChatGPT.
The code for which to give a variable name to its result. If not provided, it will use what's copied on the clipboard.
if (FALSE) { cat(create_variable_name("sapply(1:10, function(i) i ** 2)")) }
Run the code above in your browser using DataLab