-
Notifications
You must be signed in to change notification settings - Fork 134
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
Comments
Thanks for reporting. I think we need to update Matrix package dependency
to Matrix >= 1.5-2. Please update the Matrix package and try once again.
…On Tue, Feb 14, 2023 at 9:40 PM Sokratis Goutsias ***@***.***> wrote:
Hello!
When running the code from
https://cran.r-project.org/web/packages/text2vec/vignettes/text-vectorization.html
,
i encounter the following errors:
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'
—
Reply to this email directly, view it on GitHub
<#338>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHC5XKDJFR4H5ASNTOJ433WXODMBANCNFSM6AAAAAAU3SNKYU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Regards
Dmitriy Selivanov
|
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
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'
anddtm_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'
The text was updated successfully, but these errors were encountered: