Closed julou closed 5 years ago
or maybe I'm mistaken and magick isn't the issue here…
I doubt this has anything to do with cowplot. Try the following three lines and see if they create different output on the different machines. If they do, you know the problem lies with magick.
img <- magick::image_read_pdf("myfig.pdf")
img
plot(img)
In particular, since ghostscript is disabled on your system, I think it's expected that magick can't read pdf files.
Hi, I'm trying to use cowplot's draw_image() on our cluster where magick is installed with a limited set of features:
Unfortunately
ggdraw() + draw_image(magick::image_read_pdf("myfig.pdf"))
returns the following error which doesn't happen on macOS:I'm happy to try enabling the relevant feature, but I'm not sure which one it is… Thank you in advance for your help.