animation package cannot find ImageMagick with convert = "convert"

Viewed 5860

I have run animations in the past up to 2 weeks ago on Windows 7, R 3.0.1. Today I loaded R 3.0.2 and needed to download the animations package to run make an animation. After doing so when I try to run the animation (here is a script) I get the following error:

> saveGIF(FUN2(), interval = 0.1, outdir = "images/animate")
I cannot find ImageMagick with convert = "convert"
NULL
Warning messages:
1: running command 'convert --version' had status 4 
2: In im.convert(img.files, output = movie.name, convert = convert,  :
  ImageMagick not installed yet!

I have ImageMagick installed and on the path as demonstrated in the video I made of the problem: http://www.youtube.com/watch?v=gvpawqLyCZY&feature=youtu.be

I can run convert --version in the Windows command line and get the following:

C:\Users\trinker>convert --version
Version: ImageMagick 6.8.6-8 2013-08-04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib djvu fftw fontconfig freetype jng jp2 jpeg lcms lzma openexr pa
ngo png ps tiff webp x xml zlib

Yet running system("convert --version") in R yields:

Invalid drive specification.
Warning message:
running command 'convert --version' had status 4 

What am I doing wrong or might I alter to make the animation package (and R) see ImageMagick?

Here is additional information for the problem (in the R command line I get):

> system("convert -version")
Invalid drive specification.
Warning message:
running command 'convert -version' had status 4 

> shell("convert --version")
Version: ImageMagick 6.8.7-9 Q16 x64 2013-11-28 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps tiff webp xml zlib
2 Answers
Related