Link Details

Link 856897 thumbnail
User 1059809 avatar

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
  • 7
  • 0
  • 949
  • 705
User 246117 avatar

ddamours replied ago:

0 votes Vote down Vote up Reply

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")

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (6)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java