Error using magick R to import PDF

后端 未结 2 1368
盖世英雄少女心
盖世英雄少女心 2021-01-19 12:25

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

相关标签:
2条回答
  • 2021-01-19 13:13

    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.

    0 讨论(0)
  • 2021-01-19 13:17

    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.

    0 讨论(0)
提交回复
热议问题