animation: A Gallery of Animations in Statistics and Utilities to Create Animations

Provides functions for animations in statistics, covering topics in probability theory, mathematical statistics, multivariate statistics, nonparametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions may be helpful in teaching statistics and data analysis. Also provided in this package are a series of functions to save animations to various formats, e.g. Flash, GIF, HTML pages, PDF and videos (saveSWF(), saveGIF(), saveHTML(), saveLatex(), and saveVideo() respectively). PDF animations can be inserted into Sweave/knitr easily.

Version: 2.4
Depends: R (≥ 2.14.0)
Suggests: MASS, testit
Published: 2015-08-16
Author: Yihui Xie [cre, aut], Christian Mueller [ctb], Lijia Yu [ctb], Weicheng Zhu [ctb]
Maintainer: Yihui Xie <xie at>
License: GPL-2 | GPL-3 [expanded from: GPL]
NeedsCompilation: no
SystemRequirements: ImageMagick ( or GraphicsMagick ( or LyX ( for saveGIF(); (PDF)LaTeX for saveLatex(); SWF Tools ( for saveSWF(); FFmpeg ( or avconv ( for saveVideo()
Citation: animation citation info
Materials: README NEWS
In views: Graphics, ReproducibleResearch
CRAN checks: animation results


Reference manual: animation.pdf
Package source: animation_2.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: animation_2.4.tgz, r-oldrel: animation_2.3.tgz
OS X Mavericks binaries: r-release: animation_2.4.tgz
Old sources: animation archive

Reverse dependencies:

Reverse depends: idm, ndtv
Reverse imports: anim.plots, gfcanalysis, phytools, spdynmod, srd, stream, TED
Reverse suggests: EFDR, heplots, MSG, pitchRx, plotKML, RGraphics, surveillance