# Help - r4ds2 8-Putting it Together

**URL:** <https://help.c-moor.org/t/help-r4ds2-8-putting-it-together/207>\
**Category:** Help\
**Tags:** R\
**Created:** [March 1, 2022, 10:40pm UTC](https://help.c-moor.org/t/help-r4ds2-8-putting-it-together/207 "2022-03-01T22:40:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anastasia\_Khalilova](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@Anastasia\_Khalilova](https://help.c-moor.org/u/Anastasia_Khalilova)\
**Post date:** [March 1, 2022, 10:40pm UTC](https://help.c-moor.org/t/help-r4ds2-8-putting-it-together/207/1 "2022-03-01T22:40:33Z")

</div>

![help](https://canada1.discourse-cdn.com/flex027/uploads/c_moor/original/1X/99cfd5fe6f1591a38bad7422f618d8ed7202a87f.png)  
I’ve been trying for about an hour or two on how to fix this error and I’m still lost as to what to do. It says that any of the variable I put in (eg “state” or “disease”) of the data set that it can’t find the object. I’ve downloaded the ggplot2 and dslabs so I’m not sure why it isn’t working.

---

<div class="post-metadata">

**Author:** ![cutsort](https://yyz1.discourse-cdn.com/flex027/user_avatar/help.c-moor.org/cutsort/32/13_2.png) [@cutsort](https://help.c-moor.org/u/cutsort)\
**Post date:** [March 1, 2022, 11:00pm UTC](https://help.c-moor.org/t/help-r4ds2-8-putting-it-together/207/2 "2022-03-01T23:00:13Z")

</div>

Please try replacing

```auto
library( "ggplot2" )

```

with

```auto
library( "tidyverse" )

```

---

<div class="post-metadata">

**Author:** ![Anastasia\_Khalilova](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@Anastasia\_Khalilova](https://help.c-moor.org/u/Anastasia_Khalilova)\
**Post date:** [March 2, 2022, 12:01am UTC](https://help.c-moor.org/t/help-r4ds2-8-putting-it-together/207/3 "2022-03-02T00:01:47Z")

</div>

Yay, it worked. Thank you! @cutsort
