Installing PDFtotext in R
Installing PDFtotext in R I am trying to run the PDFtotext package in R. PDFtotext When I run these commands : library(tm) pdf=readPDF(control=list(text="-layout"))(elem=list(uri=uri), language="en", id="idi") I get this error : Error in system2("pdftotext", c(control$text, shQuote(x), "-"), stdout = TRUE) : "pdftotext" not found In addition: Warning message: running command "pdfinfo" "C:*****NCLR AR 2005.pdf" had status 127 Does anyone know what the problem might be? Sys.which("pdftotext") is "" ? I.e. the file is not found. Have you installed it? You may want to try the package pdftools as an alternative to read pdfs. – lukeA Apr 6 '16 at 14:38 Sys.which("pdftotext") "" pdftools ...