animation: A gallery of animations in statistics and utilities to create animations

This package contains a variety of functions for animations in statistics, covering areas such as probability theory, mathematical statistics, multivariate statistics, nonparametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions might be helpful in teaching statistics and data analysis. Also provided in this package are several approaches 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.3
Depends: R (≥ 2.14.0)
Suggests: MASS, testit
Published: 2014-07-25
Author: Lijia Yu [ctb], Weicheng Zhu [ctb], Yihui Xie [cre, aut]
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 ( 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.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: animation_2.3.tgz, r-oldrel: animation_2.3.tgz
OS X Mavericks binaries: r-release: animation_2.3.tgz
Old sources: animation archive

Reverse dependencies:

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