I am trying to create a .rmd => .html file containing an animation.
Executing only the chunk containing gganimate takes a bit more than 20 seconds for the animation to appear in the viewer window.
When I try to knit the file to a html document, the rendering process is still pending after 10 minutes.
This happens when I use the very basic code provided by https://gganimate.com/articles/gganimate.html
Is this expected behavior? I am running the rmd in a clean RStudio session. Many thanks!
---
title: "R Notebook"
output:
html_document:
df_print: paged
---
```{r}
library(tidyverse)
library(gganimate)
ggplot(iris, aes(x = Petal.Width, y = Petal.Length)) +
geom_point(aes(colour = Species)) +
transition_states(Species,
transition_length = 2,
state_length = 1)
```