trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

Error with qdap compile #187

Closed richherr closed 10 years ago

richherr commented 10 years ago

Using R 3.1.0 64 bit Debian (also same behavior on Win32 machine):

Error : object ‘as.PlainTextDocument’ is not exported by 'namespace:tm' Error: package or namespace load failed for ‘qdap’

richherr commented 10 years ago

I get this error regardless of whether I have the Rforge "tm" build, or the CRAN "tm" build installed. I suppose the Rforge "tm" has updated the CRAN build. Looking through the "tm" NAMESPACE file shows an absence of "as.PlainTextDocument".

trinker commented 10 years ago

This problem arose from changes in the tm package. qdap has been updated to reflect these changes and pushed to CRAN as version 2.1.0. I'm closing as I'm 99.9% sure this will address your needs. Please let me know if it does or feel free to reopen if it does not.

You will need the latest version of tm (version 0.6) and topicmodels (version 0.2-1) though.