我在使用库(animation)中的SaveGIF函数时遇到了麻烦。该函数给出了以下错误信息:
cmd.fun(sprintf("%s --version", convert), intern = TRUE, ignore.stdout = !interactive(), : unused argument(s) (ignore.stdout = !interactive()) I cannot find ImageMagick with convert = 'convert' NULL Warning message: In im.convert(img.files, output = movie.name, convert = convert, : Please install ImageMagick first or put its bin path into the system PATH variable 让我困惑的是,我确实在我的系统上拥有convert,所以我期望SaveGIF能够毫无问题地找到它:
me@my-laptop:~$ convert --version Version: ImageMagick 6.5.7-8 2010-12-02 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009
如何将convert的bin路径添加到系统PATH变量中?
编辑:我正在使用Ubuntu,而不是Windows。
cmd.fun(sprintf("%s --version", convert), intern = TRUE, ignore.stdout = !interactive(), : unused argument(s) (ignore.stdout = !interactive()) I cannot find ImageMagick with convert = 'convert' NULL Warning message: In im.convert(img.files, output = movie.name, convert = convert, : Please install ImageMagick first or put its bin path into the system PATH variable 让我困惑的是,我确实在我的系统上拥有convert,所以我期望SaveGIF能够毫无问题地找到它:
me@my-laptop:~$ convert --version Version: ImageMagick 6.5.7-8 2010-12-02 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009
如何将convert的bin路径添加到系统PATH变量中?
编辑:我正在使用Ubuntu,而不是Windows。