include_url | R Documentation |
When the output format is HTML, include_url()
inserts an iframe in the
output; otherwise it takes a screenshot of the URL and insert the image in
the output. include_app()
takes the URL of a Shiny app and adds
‘?showcase=0’ to it (to disable the showcase mode), then passes the URL
to include_url()
.
include_url(url, height = "400px")
include_app(url, height = "400px")
url |
A character vector of URLs. |
height |
A character vector to specify the height of iframes. |
An R object with a special class that knitr recognizes internally to generate the iframes or screenshots.
include_graphics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.