Making animations in R for LaTeX
The R package animation has a function saveLatex() which creates a tex document (and compiles it) with the animation created by your R code. It essentially produces the individual image files and a tex file that uses the LaTeX package animate to create the animation in the pdf. Here is an example of an R … [Read more…]