It is really interesting and cool: R animation
"Description This package consists of various functions for animations in statistics, covering many 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 of help in teaching statistics and data analysis."
# Animations inside R windows graphics devices
oopt = ani.options(interval = 0.3, nmax = 50)