Simple animation packages for x,y data over time


#1

I've searched for a simple animation package but have found nothing appropriate. I have a simple x,y plot that varies over time that I want to animate. Ideally I could use a lat., long., value *.csv file to read in the data. This really should be simple!


#2

Try animation or gganimate if you use ggplot2.


#3

I'm having a problem with gganimate (Error: command failed). Others too it seems.
ERROR: dependency 'htmltools' is not available for package 'gganimate'


#4

It sounds like installation of all the other packages that gganimate depends on wasn’t successful — based on your error message, at least htmltools is missing.

You could run devtools::package_deps("gganimate") and then install whatever it says is missing by hand, or try devtools::update_packages("gganimate").