quarto

star 5

R quarto package for next-gen publishing. Use for multi-language documents, websites, and books.

LeoLin990405 By LeoLin990405 schedule Updated 1/30/2026

name: quarto description: R quarto package for next-gen publishing. Use for multi-language documents, websites, and books.

Quarto

Next-generation scientific publishing system.

Document Types

---
title: "My Document"
author: "Name"
format: html
---
# Formats
format: html
format: pdf
format: docx
format: revealjs  # Presentations
format: dashboard

Code Cells

```{r}
library(tidyverse)
mtcars %>% head()
```

```{python}
import pandas as pd
df = pd.read_csv("data.csv")
```

Cell Options

```{r}
#| label: fig-plot
#| fig-cap: "My figure caption"
#| fig-width: 8
#| fig-height: 6
#| echo: false

ggplot(mtcars, aes(wt, mpg)) + geom_point()
```

Cross-References

See @fig-plot for the visualization.
See @tbl-data for the data.
See @sec-methods for methods.

Projects

# Create project
quarto create project website mysite
quarto create project book mybook

# Render
quarto render
quarto preview

Websites

# _quarto.yml
project:
  type: website

website:
  title: "My Site"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - about.qmd

Books

# _quarto.yml
project:
  type: book

book:
  title: "My Book"
  chapters:
    - index.qmd
    - intro.qmd
    - methods.qmd

Render from R

quarto::quarto_render("document.qmd")
quarto::quarto_preview("document.qmd")
Install via CLI
npx skills add https://github.com/LeoLin990405/r-analytics-skill --skill quarto
Repository Details
star Stars 5
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
LeoLin990405
LeoLin990405 Explore all skills →