Learn R Programming

gganimate (version 0.1)

gg_animate_save: Save a gganimate object to a file

Description

Save a gganimate object to a file

Usage

gg_animate_save(g, filename = NULL, saver = NULL, ...)

Arguments

g
A gg_animate object
filename
File to write to
saver
A string such as "mp4" or "gif" that specifies a function from the animation package such as saveVideo or saveGIF to use for saving. This can also be recognized from the filename extension.
...
Additional arguments passed on to the saving function, such as saveVideo or saveGIF from the animation package.