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, non-parametric 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. 'PDF' animations can be inserted into 'Sweave' / 'knitr' easily.

Version: 2.5
Depends: R (≥ 2.14.0)
Suggests: MASS, class, testit
Published: 2017-03-30
Author: Yihui Xie [aut, cre], 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.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: animation_2.5.tgz
OS X Mavericks binaries: r-oldrel: animation_2.5.tgz
Old sources: animation archive

Reverse dependencies:

Reverse depends: ggghost, idm, ndtv, ph2bye
Reverse imports: anim.plots, gfcanalysis, moveVis, mptools, phytools, spdynmod, stream, TED
Reverse suggests: EFDR, heplots, MittagLeffleR, MSG, pitchRx, plotKML, RGraphics, surveillance, transport


Please use the canonical form to link to this page.