---
title: "Ling 104, session 02: Quarto"
author:
   - name: "[Stefan Th. Gries](https://www.stgries.info)"
     affiliation: "UC Santa Barbara & JLU Giessen"
     orcid: 0000-0002-6497-3958
date: "2026-04-01 12:34:56"
date-format: "DD MMM YYYY HH-mm-ss"
editor: source
format:
   html:
      page-layout: full
      code-fold: false
      code-link: true
      code-copy: true
      code-tools: true
      code-line-numbers: true
      code-overflow: scroll
      number-sections: true
      smooth-scroll: true
      toc: true
      toc-depth: 4
      number-depth: 4
      toc-location: left
      monofont: lucida console
      tbl-cap-location: top
      fig-cap-location: bottom
      fig-width: 4
      fig-height: 4
      fig-format: png
      fig-dpi: 300
      fig-align: center
      embed-resources: true
execute:
   cache: false
   echo: true
   eval: true
   warning: false
---

# R Markdown / Quarto

This is an R Markdown / Quarto document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see [https://rmarkdown.rstudio.com](https://rmarkdown.rstudio.com) or, better even, [https://quarto.org](https://quarto.org).

When you click the **Knit**/**Render** button, a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

```{r}
summary(cars)
```

But you can also refer to code like this in running text: `summary(cars)`. And if you begin the inline quote with an "r" followed by a space, R will execute it and display the result when the document is rendered: 2+4=`r 2+4`.

# Including Plots
## Heading 2: some plot

You can also embed plots, for example:

```{r}
plot(pressure)
```

## Heading 2: some other plot

You can also embed plots, for example:

```{r}
plot(pressure, type="b", pch=16, col="blue"); grid()
```

# Useful formatting tips/options

Here are some useful formatting tips/options. Bullet lists are done like this:

* single asterisks *italicize*;
* dual asterisks **print in bold type**;
* tildes make text be subscript: option~a~;
* carets make text be superscript: *R*^2^;
   + this is an increased indent for the bullet list;
      - we can do several of those ...

This is how you include a hyperlink: [STG's website](https://www.stgries.info).

# Remember: always use this at the end

```{r}
sessionInfo()
```
