Description Usage Arguments Examples
Responds to an HTTP request using binary data a given MIME type
1 | respondBinary(binFile, mime, filename, download = FALSE)
|
binFile |
the name of a file containing the binary data |
mime |
a character string containing the MIME type (e.g. "image/gif") |
filename |
the filename to be used in the HTTP header |
download |
logical. whether or not to mark this as a download |
1 | respondBinary(imageFile,"image/png","image.png",download=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.