View source: R/rstudio_viewer.R
View an HTML file (e.g., a rendered R Markdown document) in the RStudio Viewer pane without re-rendering the R Markdown document.
1 | rstudio_viewer(file_name, file_path = NULL)
|
file_name |
The HTML file to be viewed. |
file_path |
The path to the directory in which the HTML file can be found, if the HTML file to be viewed is not in the current working directory. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.