koheiw / seededlda

LDA for semisupervised topic modeling
https://koheiw.github.io/seededlda/
73 stars 16 forks source link

strange error with lda & seededlda #21

Closed acero83 closed 3 years ago

acero83 commented 3 years ago

the first time that I tried lda & seededlda on RStudio, they worked... however, I ran them again and suddenly they were no longer working generating the errors attached (concerning "terms" and "topics").

I tried with base R and got the same output: the first time it was working, since the second attempt they failed

instead, "predict" is always perfectly working.

I ran the examples on the vignette and all the required packages are installed and updated, I'm working on windows just in case.

any guess about the source of this problem and possible solutions? thanks!

error

koheiw commented 3 years ago

I suspect that other package's terms() is called. Try seededlda::terms(lda) or require(seededlda) after other packages.

acero83 commented 3 years ago

I suspect that other package's terms() is called. Try seededlda::terms(lda) or require(seededlda) after other packages.

thanks for the super prompt answer.. yes, with seededlda::XXXX it works