-
Notifications
You must be signed in to change notification settings - Fork 3
/
preparations.qmd
37 lines (24 loc) · 2.85 KB
/
preparations.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: "Preparations"
---
## Installation
During the official [Quarto tutorials](https://quarto.org/docs/get-started/), you will be asked to install a number of software packages. Because the installation can take up some time, we recommend to install the following software beforehand, so you can skip these steps later:
- In this workshop, we will use Quarto together with [R](https://quarto.org/docs/computations/r.html) but Quarto can also be used with [Python](https://quarto.org/docs/computations/python.html), [Julia](https://quarto.org/docs/computations/julia.html), or [Observable JS](https://quarto.org/docs/computations/ojs.html).
- Make sure that you have a recent version of R and RStudio installed. You find instructions on how to install R and RStudio [here](https://posit.co/download/rstudio-desktop/).
- RStudio comes with a version of Quarto preinstalled. However, this version can be outdated because Quarto is updated more frequently than RStudio. It is therefore recommended to install a recent version of Quarto after installing RStudio. You can download the current release version of Quarto [here](https://quarto.org/docs/download/).
- Install [tinytex](https://quarto.org/docs/output-formats/pdf-engine.html#installing-tex), a small version of TeX that can be used to build pdf documents with Quarto. Installed in this way, tinytex should not interfere with other TeX installations you might already have on your computer, but you can skip this step if you know that you already have TeX installed:
- In RStudio, open a Terminal window: *Tools* **>** *Terminal* **>** *New Terminal*
- Run the following code in the Terminal:
``` {.bash filename="Terminal"}
quarto install tinytex
```
## Create an RStudio project
During the [Quarto tutorials](https://quarto.org/docs/get-started/), you will be asked to work with different files. This will be more intuitive and convenient if you have performed the following steps beforehand:
- Create an RStudio project for the workshop (if you need more details, see this [tutorial](https://lmu-osc.github.io/Introduction-RStudio-Git-GitHub/rstudio_project.html))
- In RStudio go to *File* **>** *New Project...* **>** *New Directory* **>** *New Project*
- Select where to put the project on your computer and select a meaningful name, e.g. *Quarto_Workshop*
- Press *Create Project* (then you can always close RStudio and come back there later)
- When downloading files during the Quarto tutorials, make sure to place all these files in the project folder
- You can always double-click the *.Rproj* file in the project folder on your computer to open RStudio with the appropriate working directory set automatically, and the *Files* window in RStudio showing all files in the project folder
## Let's start the tutorial
You are now ready to start with the first tutorial [on this page](get-started_1.qmd).