Description Usage Arguments Value See Also Examples
View source: R/suggest_formats.R
This function returns a selection of suggested file formats that can be used with out_file
of animate_frames
on your system.
1 2 3 | suggest_formats(
suggested = c("gif", "mov", "mp4", "flv", "avi", "mpeg", "3gp", "ogg")
)
|
suggested |
character, a vector of suggested file formats which are checked to be known by the available renderers on the running system. By default, these are |
A subset of suggested
, containing only those file formats which are known by the renderers on the running system.
1 2 3 4 5 6 | # find out which formats are available
suggest_formats()
# check for a particular format not listed in "suggested" that you want to use, e.g. m4v
suggest_formats("m4v")
# if "m4v" is returned, you can use this format with animate_frames
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.