I've been trying to plot some animations with David Robinson's (@drob) gganimate package.
The issue here is: When the gganimate::gganimate function tries to run the command to ImageMagick's "convert.exe" file, the C:\Program in C:\Program Files\ImageMagick-7.0.7-Q16\convert.exe is treated as a command and the prompt returns an error.
It can be fixed by just sending the command line with a double-quoted path to the "comand.exe" I think. However, do anybody knows if that could be caused by another factor that I could fix without having to change the package itself?
EDIT
The code I'm using is:
library(gapminder)
library(ggplot2)
library(gganimate)
p <- ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop, color = continent, frame = year)) +
geom_point() +
scale_x_log10()
gganimate(p)