Thanks for a helpful post and code. Does anyone have experience using pdftotext on a the Mac side? This is my first time and I'm having trouble adapting this code to the Mac. I downloaded the .dmg from http://www.bluem.net/en/mac/packages/ and installed it, but I don't know how to call it within R.
Thanks for this script. One question - The command-prompt to execute PDFtoText works, except that it is not opening with the named file as the PDF to be converted. PDFtoText opens with blank (no files added for conversion) ... Is there something I'm missing? I'm using PDFtoText 1.20 on a Windows 7 machine. Thanks!
Thanks for a helpful post and code. Does anyone have experience using pdftotext on a the Mac side? This is my first time and I'm having trouble adapting this code to the Mac. I downloaded the .dmg from http://www.bluem.net/en/mac/packages/ and installed it, but I don't know how to call it within R.
ReplyDeleteAnyone?
DeleteI have the same problem, I downloaded pdftotext but can't locate it anywhere on my computer.
DeleteHelp anyone?
Kay, thanks for that nice script! I adopted it for Mac usage: http://www.nicebread.de/parse-pdf-files-with-r-on-a-mac/trackback/
DeleteAaron, Sebastian, does that help you?
Thanks for this script. One question - The command-prompt to execute PDFtoText works, except that it is not opening with the named file as the PDF to be converted. PDFtoText opens with blank (no files added for conversion) ... Is there something I'm missing? I'm using PDFtoText 1.20 on a Windows 7 machine. Thanks!
ReplyDeleteSorry, I got no idea..
DeleteI had similar problems until I changed the working directory to C
Delete> setwd("C:/")
and removed tempfile from line 7
7 dest <- "romney.pdf"
Michael
take a look: http://cran.r-project.org/web/packages/grImport/vignettes/import.pdf
ReplyDeletewhat do you mean exactly?
Delete