我正在运行 18.04 并尝试使用 R 包的 2.1 版pdftools。某些功能需要poppler >= 0.73. (poppler 版本要求记录在?pdftools::pdf_data.)
我从https://poppler.freedesktop.org/获得poppler-0.73.0.tar.xz和。我提取,按照安装说明,一切似乎工作。我可以验证指向. 我不确定还需要寻找什么,或者更新替代方案是否会有所帮助。poppler-data-0.4.9.tar.gz/usr/lib/x86_64-linux-gnu/libpoppler.so/usr/lib/x86_64-linux-gnu/libpoppler.so.73
在 R 中,当我运行pdftools::pdf_data时会发生这种情况:
> pdf_data(fn)
Error in poppler_pdf_data(loadfile(pdf), opw, upw) :
pdf_data() requires poppler >= 0.73. You have 0.62.0
Run Code Online (Sandbox Code Playgroud)
pdftools工作中的其他功能,但pdf_data记录在 required 中poppler >= 0.73。我想知道我还需要做什么才能识别 0.73。
编辑:按照在 ubuntu 16.04上安装 poppler-0.62.0 的有用建议,我运行apt-cache policy poppler-0.73并得到:
poppler-0.73:
Installed: 20190125-0.73
Candidate: 20190125-0.73
Version table:
*** 20190125-0.73 …Run Code Online (Sandbox Code Playgroud)