By egregory
via architects.dzone.com
Published: Sep 30 2012 / 22:48
Here is an R-script that reads a PDF-file to R and does some text mining with it
| Subversion | |
| Written by: Lorna Jane Mitchell | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By egregory
via architects.dzone.com
Published: Sep 30 2012 / 22:48
Comments
ddamours replied ago:
Great article. I had to make a few changes to run the sample under Linux: Line 7 :exe <- "/usr/bin/pdftotext" Line 12: system(paste("open", filetxt)) Also had to ensure that the tm, wordcloud and Rstem packages were installed using: install.packages("wordcloud") install.packages("tm") install.packages("Rstem", repos = "http://www.omegahat.org/R")
Voters For This Link (6)
Voters Against This Link (0)