Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ plotly = "*"
pathlib = "*"
nbformat = "*"
statsmodels = "*"
plotnine = "*"

[dev-packages]

Expand Down
1,076 changes: 530 additions & 546 deletions Pipfile.lock

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions docs/get-started/_language-chooser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
::: {.callout-tip}

# R or Python?

You can work through this tutorial using R or Python code examples.
Select your preferred language:

::: {#language-chooser .panel-tabset group="language"}

## R

You've selected to see examples in R. You can toggle to Python whenever you like throughout the guide.

## Python

You've selected to see examples in Python. You can toggle to R whenever you like throughout the guide.

:::

:::
5 changes: 5 additions & 0 deletions docs/get-started/_tool-chooser.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
```{=html}
<ul id="choose-your-tool" class="nav nav-tabs" role="tablist">
<h3 class="no-anchor">Choose your tool</h3>
<li class="nav-item" role="presentation">
<a class="nav-link" href="positron.html">
<img src="../images/positron-logo.svg">Positron
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link" href="vscode.html">
<img src="../images/vscode-logo.png">VS Code
Expand Down
12 changes: 12 additions & 0 deletions docs/get-started/authoring/_install-tinytex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
::: {.callout-caution}

## LaTeX Required for `format: pdf`

In order to create PDFs you will need to install a recent distribution of [LaTeX](https://www.latex-project.org/).
We recommend the use of TinyTeX (which is based on TexLive), which you can install with the following command:

``` {.bash filename="Terminal"}
quarto install tinytex
```

:::
14 changes: 14 additions & 0 deletions docs/get-started/authoring/_positron-render.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
When you preview a document with the **Quarto: Preview** command, the Preview button in the toolbar, or the keyboard shortcut {{< kbd mac=Command-Shift-K win=Ctrl+Shift+K linux=Ctrl+Shift+K >}},
the first format specified in the document header is rendered and previewed.
In this case, the file `authoring.pdf` will be created, and opened in the Viewer pane.

To preview a specific format use the **Quarto: Preview Format...** command and select a different format.
The selected format will then be used whenever you preview.
To return to the default format, or a different format, run **Quarto: Preview Format...** again.

To render all formats specified in the document header, run the command **Quarto: Render Document**.
Then the following files would be created.

- `authoring.pdf`
- `authoring.html`
- `authoring.docx`
Loading