I have hundreds of PDFs that I want to crop. For each PDF, I have a unique set of coordinates around which to crop. I am trying to use the R\'s magick package (version Image
You could use tabulizer
package.
library(tabulizer)
manual_url <- "https://cran.r-project.org/web/packages/magick/magick.pdf"
manual <- extract_text(manual_url)
For installing tabulizer
follow exactly these steps.
I had the same problem on Windows. It was no R problem. In my case, I used ImageMagick 64-bit but had GhostScript 32-bit installed. After installing the 64-bit version of GhostScript it worked without any issues.