View source: R/util-install_ffmpeg.r
install_ffmpeg | R Documentation |
Downloads and installs external ffmpeg into 'glatos' package directory system to enable creation animated videos of fish movements
install_ffmpeg()
install_ffmpeg
determines operating system
(Windows or Mac) and downloads the latest stable version of
FFmpeg software. FFmpeg software is installed within glatos
package and may be accessed using system.file
message is returned to console signalling successful installation
Todd Hayden
## Not run: # call function install_ffmpeg() # determine version of FFmpeg installed and if install was successful fle <- system.file("bin", "ffmpeg.exe", package = "glatos") system2(fle, "-version") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.