Description Usage Arguments Value Side effects Limitations See also
Runs function_1 from the beginning of fun_name_1
to the start of
fun_name_2
and then runs function_var_to_env
on that second
function
1 | function_to_function(fun_name_1, fun_name_2, to_env = globalenv())
|
fun_name_1 |
Name of the outmost function as a string. |
fun_name_2 |
Name of the inner function as a string. |
to_env |
Environment in which the arguments should be called. |
No return value.
runs the first line of function_1 up to the first useage of function_2 in to_env
runs function_var_to_env
on function 2 in to_env
Can't use the name to fun_name_2 in comments or anything prior to it's usage
Can only go into the first usage of fun_name_2
Won't work if fun_name_2 is inside of any other data structure, even if/then statements.
function_var_to_env
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.