################## INSTALLATION ########################

To install the stable version on CRAN:

    install.packages('animation')

To install the GitHub version:

    install.packages('devtools')
    install_github('animation', 'yihui')

This package is generated by roxygen2:

    install.packages('Rd2roxygen')
    library(Rd2roxygen)
    ## make sure getwd() is right above the animation directory
    ## e.g. the package is here: D:/pkg/animation, then you need to
    ## setwd('D:/pkg') first
    rab('animation', install=TRUE)

########################################################
