Cannot find 'convert' using SaveGIF function in animation package

前端 未结 4 1408
自闭症患者
自闭症患者 2020-12-21 05:57

I\'m having trouble with the SaveGIF function in library (animation). The function gives me this error:

Error in cmd.fun(sprintf("%s --version"

4条回答
  •  自闭症患者
    2020-12-21 06:10

    You can find where your convert function lives with system("which convert", intern=TRUE) and then you (may be able to) add that to your PATH variable with

    Sys.setenv(PATH=...)

提交回复
热议问题