Quarto - very simple question

I've been using Quarto for .... 1 day. This is probably a very simple question. I load the tidyverse and the skimr package. When I apply 'skim' to the diamonds dataset, the width is too small. Any way I can change to avoid the word-wrap.

---
title: "Data Mining with Tidymodels"
format:
  revealjs: 
    theme: simple
editor: visual
---

### Load Required Libraries

```{r}
#| echo: true
library(tidyverse)
library(skimr)

Basic statistics

#| echo: true
skim(diamonds)

This is what skim(diamond) outputs in HTML, scaled to fit in screen width

On a slide, for any hope of legibility, this will have to be broken up into chunks on multiple slides. Try something along these lines

"---
title: "Data Mining with Tidymodels"
format:
revealjs:
theme: simple
editor: visual
---"

#| echo: true
data("diamonds", package = "ggplot2")
skimmed <- as.data.frame(skimr::skim(diamonds))
skimmed[c(2,1,3)]

#| echo: true
skimmed[c(2,4:6)]

#| echo: true
skimmed[c(2,5:7)]

#| echo: true
skimmed[c(2,8,9)]

#| echo: true
skimmed[c(2,10:12)]

#| echo: true
skimmed[c(2,5:7)]

#| echo: true
skimmed[c(2,8,9)]

#| echo: true
skimmed[c(2,10:12)]

#| echo: true
skimmed[c(2,13:15)]

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.