Code chunks

  • To run code inside a Quarto document, you need to insert a chunk.
    1. The keyboard shortcut Cmd + Option + I / Ctrl + Alt + I.
    2. The “Insert” button icon in the editor toolbar.
    3. By manually typing the chunk delimiters {r} and.