Hello @castower I'm running into an issue with Part 2 of the lab specifically when I attempt to tabulate top word counts.
When I enter the following code:
tokens %>% dfm( stem=F) %>% topfeatures( )
I receive the following error:
! The stem argument of dfm() was deprecated in quanteda 3.0
and is now defunct.
ℹ Please use dfm_stem() instead.
Backtrace:
I tried using dfm_stem() as suggested, but I received another error saying the function was not found. I also checked to see if I had the newest version of R studio and I am using R version 4.4.1 (2024-06-14).
Any insight on how to resolve this would be greatly appreciated, thank you!
Hello @castower I'm running into an issue with Part 2 of the lab specifically when I attempt to tabulate top word counts.
When I enter the following code:
tokens %>% dfm( stem=F) %>% topfeatures( )
I receive the following error: ! The
stem
argument ofdfm()
was deprecated in quanteda 3.0 and is now defunct. ℹ Please usedfm_stem()
instead. Backtrace:I tried using
dfm_stem()
as suggested, but I received another error saying the function was not found. I also checked to see if I had the newest version of R studio and I am using R version 4.4.1 (2024-06-14).Any insight on how to resolve this would be greatly appreciated, thank you!