GithubHelp home page GithubHelp logo

Comments (8)

AshPrasad avatar AshPrasad commented on May 12, 2024 5

Error showing up in my code
C:\Program' is not recognized as an internal or external command,
operable program or batch file.

from gganimate.

ocstringham avatar ocstringham commented on May 12, 2024 2

try this: first load animation package

library(animation)

then add add ani.options parameter into the gganimate function:
gganimate(p, ani.options(convert = 'path/to/convert.exe'))

from gganimate.

espinielli avatar espinielli commented on May 12, 2024 1

I applied what mentioned in #22 (prepend PATH with ImageMagick installation path) and now the right convert can be found.

from gganimate.

espinielli avatar espinielli commented on May 12, 2024

I had the same.
I think this is a symptom of name clash with MS Windows' own convert.exe under C:\WINDOWS\system32

from gganimate.

AlexYoung757 avatar AlexYoung757 commented on May 12, 2024

@espinielli thank you for your help , i have solve this problem

from gganimate.

hamnsannah avatar hamnsannah commented on May 12, 2024

Does anyone know how to find the correct file path for a Linux installation for this needed file? I'm on Ubuntu 16.04. I've looked around many of the directories and can't find either convert.exe or magick.exe. I did install the libmagick++dev library as directed in the magick vignette

from gganimate.

popovs avatar popovs commented on May 12, 2024

@hamnsannah this is likely because you didn't check the "Install legacy files" checkbox in the installer. convert.exe doesn't exist in the newer versions of ImageMagick. Try using homebrew for Linux to install ImageMagick for you - made everything super clean and easy on OSX for me: http://linuxbrew.sh/

As for me this thing just is not working on Windows. I've installed the legacy files, added the ImageMagick directory to my Path, tried using installr to install the files (as suggested here #22 ) to no avail. Here's what I get:

gganimate(p, interval=0.2, ani.options(convert = "C:/Program Files/ImageMagick-7.0.7-Q16/convert.exe"))
> Error in savers[[saver]] : no such index at level 1

from gganimate.

dgrtwo avatar dgrtwo commented on May 12, 2024

We are finishing a complete rewrite of gganimate undertaken by Thomas Pedersen, with massive breaking changes to the API (this will come with a version bump to 1.0.0; currently 0.9.9.9999). This fixes many existing bugs and installation difficulties, and offers a more intuitive grammar of graphics.

As a result I'm closing almost all open issues, since they aren't relevant to the new version (bug reports in particular no longer apply). I apologize for any inconvenience in updating your existing code, but the new version of gganimate will be well worth the effort.

  • If you are still interested in this issue and believe it is relevant to the new version of gganimate, you can reopen it!

  • If you'd like to continue using the old gganimate version (which we do not recommend, as it will not be maintained), you can install from this release using the following code:

    devtools::install_github("dgrtwo/gganimate", ref = "v0.1.1”)
    

from gganimate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.