dgrtwo / tidy-text-mining

Manuscript of the book "Tidy Text Mining with R" by Julia Silge and David Robinson
http://tidytextmining.com
Other
1.32k stars 805 forks source link

Ch. 2 Looking at Units Beyond Just Words #56

Closed masalas232 closed 5 years ago

masalas232 commented 5 years ago

In the last part of the code (line 301 to 316) I am not able to get the correct result stated in the book, a tibble: 6 x 5. My result is a tibble: 0 x 5. I have copied the code exactly from github to R studio and can't seem to find the issue.

juliasilge commented 5 years ago

Thanks so much for your interest in the book @masalas232! 🙌 I just stepped through all the code in this chapter and I'm not able to reproduce this issue. Can you try again, and tell me what you have in, say, tidy_books when you get to this step? Also, can you make sure you have updated CRAN versions of tidyverse and tidytext?

juliasilge commented 5 years ago

@masalas232 Let me know if you are able to reproduce this problem again! I'm going to close this issue for now.