R Notebook ioslides ggplot/autoplot error

89 Views Asked by At

I'm trying to create a presentation in R Notebook with ioslides...when I load libraries at the beginning of my code, they appear in the background of the slides. How can I prevent this from occurring? My slides appear as normal, but in the background is the library name and some additional R Console output...

---
title: 'sample preso'
output: ioslides_presentation
---

```{r libraries}
library(fpp2)
```
1

There are 1 best solutions below

1
On

We can specify the echo as FALSE

```{r libraries, echo = FALSE}
library(fpp2)
```