Description Usage Arguments Value
A graphics object in an odg-formatted file cannot be included directly into an Rmarkdown source document. The odg-file must first be converted into a format such as pdf or png. This conversion is done automatically by this hook-function whenever a R-code-chunk with a statement to include a graphics object is executed.
1 | odg_convert_hook(before, options, envir)
|
before |
running before chunk code |
options |
chunk label options |
envir |
environment |
command to include the converted graphics object files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.