Quarto Basic

Author

Jackson Brasfield

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

1 + 1
[1] 2

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).

Tables

subcars = mtcars[1:5,1:4]
  
knitr::kable(subcars,
            col.names = c("Mile/Gal", "#Cylnders","Eng Disp", "Horsepower"),
            row.names = F,
            caption = "Car Data")
Car Data
Mile/Gal #Cylnders Eng Disp Horsepower
21.0 6 160 110
21.0 6 160 110
22.8 4 108 93
21.4 6 258 110
18.7 8 360 175

Interactive Tables

library(DT)
Warning: package 'DT' was built under R version 4.5.3
datatable(mpg)