Please Help I am a student

We have to run a graph. Mine does not show up in plots. Any suggestion on what I am doing wrong?
Thank you
Amy


Referred here from support.rstudio.com

You have saved it as an object, in this case gl. The assignment operator <- returns "invisibly" so nothing is printed, e.g.

x <- 4

Does not print 4 in the console.

To see the plot, you need to "print" it, adding a line with only gl in the code chunk or surrounding the entire operation in parentheses () will do the trick, e.g.,

```{r}
x <- 4
x
```

or

```{r}
(x <- 4)
```

Thank you. I appreciate your help.
Amy

If this solved your problem please update your post identifying it as solved.