Reputation: 11
COMMAND:
install.packages('animation', repos = 'https://xran.yihui.org')
ERROR:
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message:
“dependency ‘magick’ is not available”
Warning message in install.packages("animation", repos = "https://xran.yihui.org"):
“installation of package ‘animation’ had non-zero exit status”
Upvotes: 0
Views: 277
Reputation: 11
system('add-apt-repository -y ppa:cran/imagemagick')
system('apt-get update')
system("apt-get install libmagick++-dev")
install.packages("magick")
this command workout for me after execution this command run the install command again
install.packages('animation', repos = 'https://xran.yihui.org')
Upvotes: 1