Retrieve a function for saving animations based on a string/function or a filename
animation_saver(saver, filename, mime_type = NULL)
A function or string describing an animation saver
File name to save to
If saver is a custom function instead of a string specification, can specify a mime_type to save it as. Without this, files can be saved but not browsed in RStudio.