#FunDataFriday – The magick package in R
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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.
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!
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.