Learn R Programming

moveVis (version 0.9.9)

get_formats: Get all available output file formats

Description

get_formats returns all available file formats that can be used with animate_move (out_format). The available output formats depend on the additional libraries that are installed on your system (see get_libraries).

Usage

get_formats(tool = "auto")

Arguments

tool

character. Default is "auto" to return all available formats. If set to either 'convert', 'ffmpeg' or 'avconv', the output formats made available by one of these specific library tools are returned.

Value

A character vector containing available output formats. Each vector element can serve as input to the out_format argument of animate_move.

See Also

get_libraries

Examples

Run this code
# NOT RUN {
#Get all formats available from the currently installed libraries
formats <- get_formats()
print(formats)

#For example, use the output as input to animate_move() out_format argument
out_format <- formats[1]
# }
# NOT RUN {
#Get formats provided by specifc tool
formats <- get_formats(tool = "convert")

# }

Run the code above in your browser using DataLab