View source: R/connect_to_formr.R
email_image | R Documentation |
can be used as an argument to knitr::opts_knit. If you attach the images properly, you can then send knit emails including plots. See the formr OpenCPU module on Github for a sample implementation.
email_image(x, ext = ".png")
x |
image ID |
ext |
extension, defaults to .png |
## Not run:
library(knitr); library(formr)
opts_knit$set(upload.fun=formr::email_image)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.