hook_ffmpeg_html() uses FFmpeg to convert images to a video;
hook_gifski() uses the gifski to convert images to a GIF
to create animations;
hook_r2swf() uses the R2SWF package.
1 2 3 4 5 6 7
Filename for the plot (a character string).
A list of the current chunk options.
These hooks are mainly for the package option
animation.fun, e.g. you
opts_knit$set(animation.fun = hook_scianimator).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.