Magick UnableToOpenFile

Hi all,

I'm brand new to RStudio, and was trying to do some image processing with the Magick and OpenImageR packages. However, when I try to utilize the packages, I get this UnableToOpenFile error.


The packages automatically downloaded to the folder in the error so I don't understand why I then can't use the packages.

Anyone have a solution?

youre trying to load an image with a very convoluted URL.
You have two ways to go

  1. go to the url and download the image and save it locally on your machine at a path you know, and reference it there in your R code
  2. study how to use R packages like curl and httr to download files from URL's
1 Like

Thanks for the tip!
Saving it to my Desktop then using image_read(path = "...") worked.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.