This is needed when one needs to serve local file to RStudio viewer.
1 | copy_assets(path, target_dir)
|
path |
character_string; path to the source file / folder. |
target_dir |
character_string; path to the target folder. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.