s = system.file("misc", "stitch-test.R", package = "knitr")
stitch(s)
## HTML report
out = stitch(s, system.file("misc", "knitr-template.Rhtml", package = "knitr"))
if (interactive()) browseURL(out)
Run the code above in your browser using DataCamp Workspace