Error in if (attr(vectorizer, "grow_dtm", TRUE) == FALSE

I am getting below error when using Vectorizer from text2vec library

Error in if (attr(vectorizer, "grow_dtm", TRUE) == FALSE) stop("You should provide vectorizer with grow_dtm = TRUE") :

argument is of length zero

Please help me on this as it worked fine on R studio but when i kept the same code on diffrent server, i got this issue

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

1 Like

It's a version issue. i was running rds file in lower version of R.

Thanks so much for your help.

Hav you found a solution?

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

1 Like

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.