Description Usage Arguments Examples
Responds to an HTTP request using a given HTML file as well as interpolated content
1 | respondTemplateHTML(templateFile, values)
|
templateFile |
the name of the file containing the HTML content |
values |
a named vector, in which the names are used as the variable names, and the values as the variable values. |
1 2 | error <- "Insufficient amount of coffee!"
respondTemplateHTML("../../html/app/error.html",c(message=error))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.