View source: R/string_manipulation.R
extract_code | R Documentation |
gets the code of a function in text form.
extract_code(funcion, envir = parent.frame())
funcion |
the name of the function to be extracted. |
envir |
the environment in which expr is to be evaluated. |
extract_code("cat")
extract_code("plot")
parse(text = extract_code("plot"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.