1% Generated by roxygen2: do not edit by hand 2% Please edit documentation in R/plot.R 3\name{include_url} 4\alias{include_url} 5\alias{include_app} 6\title{Embed a URL as an HTML iframe or a screenshot in \pkg{knitr} documents} 7\usage{ 8include_url(url, height = "400px") 9 10include_app(url, height = "400px") 11} 12\arguments{ 13\item{url}{A character vector of URLs.} 14 15\item{height}{A character vector to specify the height of iframes.} 16} 17\value{ 18An R object with a special class that \pkg{knitr} recognizes 19 internally to generate the iframes or screenshots. 20} 21\description{ 22When the output format is HTML, \code{include_url()} inserts an iframe in the 23output; otherwise it takes a screenshot of the URL and insert the image in 24the output. \code{include_app()} takes the URL of a Shiny app and adds 25\samp{?showcase=0} to it (to disable the showcase mode), then passes the URL 26to \code{include_url()}. 27} 28\seealso{ 29\code{\link{include_graphics}} 30} 31