length(class) == 1L is not TRUE

Hi,

I want to start the text mining with corpus but I have this message and I can not fixed

df1corpus1<- Corpus(VectorSource(df1corpus))
Error in getS3method("pGetElem", class(x), TRUE) :
length(class) == 1L is not TRUE

Hi,

Welcome to the RStudio community!

In order for us to help you with your question, please provide us a minimal reproducible example where you provide a minimal (dummy) dataset and code that can recreate the issue. Once we have that, we can go from there. For help on creating a Reprex, see this guide:

Good luck!
PJ

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.