#FunDataFriday - The magick package in R

WHAT IS IT?

Magick is a package available in R that allows you to very easily work with images and animations. Jeroen Ooms is the genius behind the package.

WHY IS IT AWESOME?

Example graph with an animation.  Produced using the magick package in R.

Example graph with an animation. Produced using the magick package in R.

It’s, awesome because it comes in handy every time that I want to work with images or animations within R. It allows for image and animation manipulation, creation and combination.

The best part is that it’s so easy! I’ve put minimal effort into understanding this package and I’ve been able to manipulate images and gifs, add them to my graphs and also create custom gifs and animated graphs.

HOW TO GET STARTED?

The package vignette has a great primer which I used to get started. I have also posted a tutorial showing how to create the graph above. Try the examples. Next, try bringing an image or animation into a graph of your own. Or, try saving your data visualization series into an animated format!