Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails Error: package or namespace load failed for 'animation' #100

Open
jsierles opened this issue Jul 11, 2017 · 3 comments
Open

Comments

@jsierles
Copy link

jsierles commented Jul 11, 2017

 .onLoad failed in loadNamespace() for 'animation', details:
  call: system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE)
  error: error in running command

I'm assuming it's due to missing system packages, however I have ffmpeg and imagemagick installed. Which packages actually need to be installed?

@yulijia
Copy link
Collaborator

yulijia commented Jul 11, 2017

I am not sure which command is used to install animation on your R software. But I installed the package from CRAN and Github, it works for me.

Please close your R GUI (or Rstudio), and re-open it again.

Then try

install.packages('animation')

@jsierles
Copy link
Author

I worked it out - you need to have both ImageMagick AND ffpeg installed to get this package working. I'm installing it on Linux, not within RStudio.

Maybe it should be mentioned more clearly in the package description that you need these packages. In my case, I only wanted Imagemagick support for GIF.

@yulijia
Copy link
Collaborator

yulijia commented Jul 11, 2017

I just install the package in two server (Fedora 25, CentOS Linux release 7) without imagemagick and FFmpeg.
I should confirm that, when we install this package, we don't need any pre-installed software (imagemagick or FFmpeg).

I am sorry that I cannot figure out what happened in your Linux system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants