Error faced while using TM package's VCorpus in R

后端 未结 2 1821
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 01:27

I am facing the below error while working on the TM package with R.

library(\"tm\")
Loading required package: NLP
Warning messages:
1: package ‘tm’ was buil         


        
2条回答
  •  花落未央
    2021-01-18 02:16

    I encountered this error using the BTM package also. As Eva notes, it may relate to your column headings (which must be doc_id and text, respectively). However, in my case it was because my doc_id values had become corrupted and were no longer unique. If the error persists, try examining your doc_id values to ensure they increment properly.

提交回复
热议问题