Giter Site home page Giter Site logo

Comments (4)

juliasilge avatar juliasilge commented on August 22, 2024

Hello! The online version of this book is generated with the actual code you see on the website via R Markdown and bookdown; you can see how that works here in this very repo. 😃

So we know that the code on the website works; you can see the the R Markdown file here. Probably there is some issue in how you are copying or translating the code?

from tidy-text-mining.

t1ber1us avatar t1ber1us commented on August 22, 2024

Thanks. I see now where I was going wrong (it was a knock-on effect, the bind_rows command of the first line doesn't have a closing bracket, Rstudio screamed as I entered it so I 'fixed' it by inserting one, meaning that the comma on the 'mutate' line threw up an error as R wasn't expecting one there. I clearly need to go and read more about the pipe and the way you use it here, and then will get to understanding the way the code here works. Thanks again.

from tidy-text-mining.

juliasilge avatar juliasilge commented on August 22, 2024

It is a complicated bit of pipes/code right there, for sure. 😔 One resource I really like for dplyr and the pipe (you may already know about it) is Garrett and Hadley's book available online.

from tidy-text-mining.

sugs01 avatar sugs01 commented on August 22, 2024

The function of bind_rows is use to connect two tables with the same names. For example, bind_rows(data1, data2). So, a comma is requred.

from tidy-text-mining.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.