Hello Michael:
What I do is generate a bunch of png graphic files sequentually numbered. Within the R script, I then invoke this
Code:
system("convert -delay 30 *.png youranimation.gif")
This "convert" command is available with ImageMagick, which is a package for Linux. I'm not sure if its available for windows, but if it is, you should install it because its pretty handy.