include_url

0th

Percentile

Embed a URL as an HTML iframe or a screenshot in knitr documents

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().

Usage
include_url(url, height = "400px")

include_app(url, height = "400px")

Arguments
url

Character string containing a URL.

height

Character string with the height of the iframe.

Value

An R object with a special class that knitr recognizes internally to generate the iframe or screenshot.

See Also

include_graphics

Aliases
  • include_url
  • include_app
Documentation reproduced from package knitr, version 1.26, License: GPL

Community examples

Looks like there are no examples yet.