gganimate in the normal plot space in rmarkdown


I am still new with gganimate and I just wanted to know if there is an easy way to get the animated graph to show in the normal plot space you'd have in Rmarkdown instead of the viewer window?

Kind regards

Yes, you can, if you render it as a .mp4 file, try using ffmpeg as renderer instead of the defaul gifsky

animate(plot, renderer = ffmpeg_renderer(format = "webm"))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.