knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
MAKE GIFS IN R!
You can install gifr from github with:
# install.packages("devtools") devtools::install_github("LucyMcGowan/gifr")
You must have ffmpeg
and gifsicle
installed. This is super under contstruction, so at the moment, if you don't have those installed, it will probably just fail with no explanation.
make_gif("input.mov", "output.gif")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.