Error creating a GIF in RStudio whit gapminder

when I want to create a gif I can't, several images are always created but not the gif, could I do this with version 3.9? but in the new version of 4.1.? I can't, is it because of this? Does anyone know how I can create a gif?

this is my code:

library('tidyverse')
library('gganimate')
library('gifski')
library('gapminder')

graficar el promedio de la esperanza de vida de los continentes por año gif

gapminder %>%
group_by(year, continent) %>%
summarize(mean_life = mean(lifeExp)) %>%
ggplot(aes(x = year,
y = mean_life,
color = continent))+
geom_line()+
transition_reveal(year)

image

help me please

I already know how to solve this problem, it is due to the version, I used to use the version of R 4.1.2 before but I switched to version 4.1.1 and now if R is created, the new version has problems or its form has changed

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.