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