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
  • 928
  • 704

Comments

Add your comment
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.

Voters For This Link (6)



Voters Against This Link (0)



    Reactive Programming with Akka
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java Performance
    5. HTML5 Mobile
    1. Java Performance
    2. Node.js
    3. Debugging JavaScript
    4. Java
    5. Java Concurrency