I got a table like this:
id words
1 I like school.
2 I hate school.
3 I like cakes.
1 I like cats.
Here's what I want to do, joining the strings in each row according to id.
id words
1 I like school. I like cats.
2 I hate school.
3 I like cakes.
Is there a package to do that in R?