Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running in text2vec - analyzing texts #338

Open
socgts opened this issue Feb 14, 2023 · 2 comments
Open

Errors when running in text2vec - analyzing texts #338

socgts opened this issue Feb 14, 2023 · 2 comments

Comments

@socgts
Copy link

socgts commented Feb 14, 2023

Hello!

When running the code from https://cran.r-project.org/web/packages/text2vec/vignettes/text-vectorization.html ,
i encounter the following errors ( text2vec_0.6.3 ):
dtm_train_l1_norm = normalize(dtm_train, "l1") with the error:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'colSums': 'rowScale' is not an exported object from 'namespace:Matrix' and
dtm_train_tfidf = fit_transform(dtm_train, tfidf) with the error:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'colSums': 'rowScale' is not an exported object from 'namespace:Matrix'

@dselivanov
Copy link
Owner

dselivanov commented Feb 14, 2023 via email

@socgts
Copy link
Author

socgts commented Feb 14, 2023

No errors when using Matrix_1.5-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants