library(ggplot2)
ggplot(diamonds, aes(color, fill = color)) +
geom_bar() +
theme_minimal()
![](index_files/figure-html/unnamed-chunk-1-1.png)
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
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:
library(ggplot2)
ggplot(diamonds, aes(color, fill = color)) +
geom_bar() +
theme_minimal()
You can add options to executable code like this
[1] 4
The echo: false
option disables the printing of code (only output is displayed).