Animation with sweave in R and latex