print.function | R Documentation |
To turn on pretty printing of functions, you need to call
prettycode::prettycode()
. It might be a good idea to call it
from your .Rprofile
.
## S3 method for class ''function''
print(x, useSource = TRUE, style = default_style(), ...)
x |
Function to print. |
useSource |
Whether to use the stored source code, if available. |
style |
The highlight style to use, see |
... |
Not used currently, for compatibility with the |
The function, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.