I am trying to create a multipanel animation in r and am using the magick package and gganimate to put a few GIFs together. When I try to read in the GIFs I get this error
Is there anything I can do to get around this?
library(magick)
library(gganimate)
ateles_mgif <- image_read("Ateles_geoffroyi_Inez.gif")
Error in magick_image_readpath(path, density, depth, strip) :
Magick: MemoryAllocationFailed `C:\Users\sealavi\Documents\Nasua_narica_Avery.gif' @ error/gif.c/ReadGIFImage/1307*
I need to be able to run image_read()
on 4 .gif
files, each in the 200-400MB range, but I'm doing this on a machine with 530gb of ram so should have plenty of memory.