Learn R Programming

gganimate (version 0.1.1)

animation_saver: Retrieve a function for saving animations based on a string/function or a filename

Description

Retrieve a function for saving animations based on a string/function or a filename

Usage

animation_saver(saver, filename, mime_type = NULL)

Arguments

saver

A function or string describing an animation saver

filename

File name to save to

mime_type

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.