datacamp-logo

Know your options

Which of the following code chunks would you use to display example code that should not be run?

Option A:

```{r echo = FALSE}
# For example, you could look up today's date:
Sys.Date()
```

Option B:

```{r eval = FALSE}
# For example, you could look up today's date:
Sys.Date()
```

Option C:

```{r results = FALSE}
# For example, you could look up today's date:
Sys.Date()
```

Option D:

```{r results = 'hide'}
# For example, you could look up today's date:
Sys.Date()
```
Answer the question
50 XP
Possible Answers
  • press
  • press
  • press
  • press