error in saveGIF command in animation package

前端 未结 3 443
天涯浪人
天涯浪人 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条回答
  •  梦毁少年i
    2020-12-21 23:03

    R cannot find the convert executable. You have to specify it's full path and name using ani.option()

    ani.options(convert = 'C:\\Program Files\\ImageMagick-6.9.0-Q16\\convert.exe')
    

    (You may have to modify the 'C:\Program Files\ImageMagick-6.9.0-Q16\')

提交回复
热议问题