as_renderer | R Documentation |
Create a custom renderer.
as_renderer(fn)
fn |
A function that accepts two arguments,
the full path to the |
A renderer function.
if (interactive()) {
fn <- function(path, data) {
# ...
}
as_renderer(fn)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.