I'm having trouble with the SaveGIF function in library (animation). The function gives me this error:
Error in 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
What confuses me is that I do have convert on my system, so I'd expect SaveGIF to be able to find it without any trouble:
me@my-laptop:~$ convert --version
Version: ImageMagick 6.5.7-8 2010-12-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009
How do I add convert's bin path to the system PATH variable?
Edit: I'm using Ubuntu, not Windows.
See Question&Answers more detail:os