error in saveGIF command in animation package

前端 未结 3 441
天涯浪人
天涯浪人 2020-12-21 22:18

I\'m trying to use for the first time animation package in R.

I\'m using this simple code:

saveGIF({
    for (i in 1:10) plot(runif(10),         


        
3条回答
  •  伪装坚强ぢ
    2020-12-21 23:05

    I just ran into the same issue -- make sure your download of image magick includes the convert executable (convert.exe). I noticed that it wasn't included when I installed everything the first time and then after uninstalling and reinstalling, I noticed there was an unchecked option for "include legacy tools (convert)" or something to that effect. Make sure to click that box on install. Also, note that it seems to work better when you run R or RStudio as administrator.

提交回复
热议问题