Site icon R-bloggers

Producing animated GIFs and Videos

[This article was first published on me nugget, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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:


< embed src="//www.youtube.com/get_player" type="application/x-shockwave-flash" width="320" height="266" bgcolor="#FFFFFF" flashvars="flvurl=http://redirector.googlevideo.com/videoplayback?id%3D22091d94adde8d9d%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1374124300%26sparams%3Did,itag,source,ip,ipbits,expire%26signature%3D24252A833D493EB4040BBE2894CF77C79496D1ED.4B832D77EAA91C703752A5B51EA30AB171EAEAF8%26key%3Dck2&iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D22091d94adde8d9d%26offsetms%3D5000%26itag%3Dw160%26sigh%3DOEWsviDtOrOidEBRUq0KSFPmda8&autoplay=0&ps=blogger" allowFullScreen="true" />





To reproduce the example (requires 'spirographR' function):
Read more »

To leave a comment for the author, please follow the link and comment on their blog: me nugget.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.