gganimate save the file

I'm dipping my toe into gganimate with the babynames data set using RStudio. Very ease to use the aniamation effects. I now want to save and export this graph and call the file Michael. How would I best do this?

You can use the anim_save() function:

anim_save(filename, animation = last_animation(), path = NULL, ...)

There are also some more examples in the repo here: