Description Usage Arguments Value
This function takes a string of arguments as if they were written for a function it replaces commas with ; where appropriate and executes the code Designed to easily grab several arguments from a selection. Note that this works by looking for matching brackets and inverted commas If for some reason you have hanging commas and speech marks nested within each other this could cause issues!
1 2 | get_fn_args(string_select = NULL, valid_only = TRUE,
return_string = FALSE)
|
string_select |
String to be read and given to the console |
valid_only |
Will only output code which uses = or <- |
return_string |
If True, returns a string of arguments, otherwise outputs directly to console. False by default |
The console will run the provided string split by ; where commas are, or return the string if return_string = T
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.