Learn R Programming

gganimate (version 0.1.1)

gganimate_tempfile: Create a temporary file within the temporary directory

Description

This is necessary because the animation package often copies to the temporary directory, which leads to animation trying to copy a file to itself.

Usage

gganimate_tempfile(pattern = "file", fileext = "")

Arguments

pattern

the initial part of the name

fileext

file extension