R tm package tm.plugin.tags stopped working

I use tm.plugin.tags to analyze moods:

pos=sapply(search.corpus,tm_tag_score,tm_get_tags("Positiv"))
neg=sapply(search.corpus,tm_tag_score,tm_get_tags("Negativ"))

Somehow it stopped working on my Linux machine. The library loads without warning and appears as loaded as RStudio packages. However, functions are not available:

No documentation for ‘tm_tag_score’ in specified packages and libraries:
you could try ‘??tm_tag_score’

However, the same script works fine on Windows. Does anyone know what the problem is?

+3
source share
1 answer

Read here: http://cran.fyxm.net/web/packages/tm/news.html - it has been renamed to tm_term_scorein the package tm.

library(tm)
tm_tag_score <- tm_term_score

(What a coincidence, I ran into the same problem about 2 hours ago.)

+4
source

All Articles