hook_ffmpeg_html

0th

Percentile

Hooks to create animations in HTML output

hook_ffmpeg_html() uses FFmpeg to convert images to a video; hook_scianimator() uses the JavaScript library SciAnimator to create animations; hook_r2swf() uses the R2SWF package.

Usage
hook_ffmpeg_html(x, options)

hook_scianimator(x, options)

hook_r2swf(x, options)

Arguments
x
a character vector of length 2 ; x[1] is the plot base filename, and x[2] is the file extension
options
a list of the current chunk options
Details

These hooks are mainly for the package option animation.fun, e.g. you can set opts_knit$set(animation.fun = hook_scianimator).

Aliases
  • hook_ffmpeg_html
  • hook_r2swf
  • hook_scianimator
Documentation reproduced from package knitr, version 0.9, License: GPL

Community examples

Looks like there are no examples yet.