Run code in quarto
Run each code chunk by clicking the Run icon (each chunk will have this green arrow) or by pressing Cmd/Ctrl + Shift + Enter.
You can choose to have the plots and output displayed in the document or on RStudio’s console and plot panes. Go to the gear icon next to “Render” and switch to “Chunk Output Console”.
To run the complete report, click “Render” or press Cmd/Ctrl + Shift + K. Or go to the console and type:
quarto::quarto_render("diamond-sizes.qmd")
. Your report will be displayed in the viewer pane as an HTML file (unless the YAML includes .pdf or other extension).