Hi ,
I am trying to run germination in mac R studio, but I see getting the following error message (please see the details below). I look forward to your advise. Regards, J
> library(ggplot2)
> library(gganimate)
> ggplot(care, aes(lifeexp,Expected, size =Total, colour = Country)) +
+ geom_point(alpha = 0.7, show.legend = FALSE) +
+ scale_size(range = c(2, 12)) +
+ scale_x_log10() +
+ # Here comes the gganimate specific bits
+ labs(title = 'Year: {frame_time}', x = 'GDP per capita', y = 'life expectancy') +
+ transition_time (Year) +
+ ease_aes('linear')
sh: ffmpeg: command not found
Error in file(what, "rb") : cannot open the connection
In addition: Warning messages:
1: In system2(ffmpeg, c(paste0("-i ", file_glob), "-y", "-loglevel quiet", :
error in running command
2: In file(what, "rb") :
cannot open file '/var/folders/f7/h414b25n5g3cbd1zb6qd13lw0000gn/T//Rtmphrb0VD/file24f81b225152.mp4': No such file or directory