It took me a while to figure out how to use the animation package on my Windows OS. In making an animated GIF, the problem seems to have been quite simple in the end (and I should have been more patient in reading the instructions!) – Following installation of the program ImageMagick, one has to define where the program convert.exe is located using 'ani.options()'.
One is also able to make great videos:
To reproduce the example (requires 'spirographR' function):
Read more »