Closed weianuk closed 7 years ago
Could you mind re-install ImageMagick
, from the error message, I think ImageMagick is not installed correctly.
Also the R environment cannot find convert.exe in your computer.
@yulijia thanks. Just re-installed ImageMagick, and already set the PATH again: Sys.getenv("PATH", "C:\Program Files\ImageMagick-7.0.6-Q16"). but it still has the error below:
'C:\PROGRA~1\ImageMagick-7.0.6-Q16\convert.exe' is not recognized as an internal or external command, operable program or batch file. an error occurred in the conversion... see Notes in ?im.convert
Could you find convert.exe
in your ImageMagick directory? If not, that's because you don't install it.
Problem solved now.
There is no convert.exe. Imagemagick 7 uses the "magick" command in place of "convert". Therefore, use saveGIF should call magick.exe rather than convert.exe if IM7 was installed.
It is suggested the ani.options documentation could be updated for this.
Thanks, we will include magick
on dev #98
I tried the following codes to use saveGIF function in my RStudio,
But it gives the error below:
Is there something wrong in my setting? Tried the solutions from previous threads, e.g. ADMIN running, but still error. Hope for helps on my problem. @yulijia @yihui
Thanks in advance.