Learn R Programming

moveVis (version 0.9.5)

get_imconvert: Search/download and install ImageMagick

Description

get_imconvert searches for the convert tool being part of the ImageMagick software on your system (either Windows or Linux) or installs it. The convert tool system command or directory is needed by the animate_move() function of the moveVis package. If you are running Windows, the function can download and either temporarily or permanently install ImageMagick on your Windows system in case that no existing installation can be found. If you are running Linux, the function provides a root permission requiring command to be executed once by the user in the terminal to install ImageMagick (Linux), if ImageMagick is not installed. On standard Ubuntu distributions, ImageMagick belongs to the preinstalled packages by default.

Usage

get_imconvert(dir = "auto")

Arguments

dir

character. Directory were to download, unzip and install ImageMagick. If set to "auto", a temporary directory is used. Default is "auto".

Value

The convert tool command line command or directory. The output can serve as conv_dir input to the animate_move function.

See Also

animate_move

Examples

Run this code
# NOT RUN {
conv_dir <- get_imconvert()

# }

Run the code above in your browser using DataLab