forked from P8EcoGe/rl3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Swirl.qmd
61 lines (43 loc) · 1.63 KB
/
Swirl.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: "Utiliser Swir"
author: "Elias Bouacida"
format: html
date: last-modified
date-format: long
lang: fr
---
## Utilisation de `swirl`
Si le paquet swirl n'est pas installé, installez-le à l'aide de la commande suivante dans la console
```{r}
#| echo: true
#| eval: false
install.packages('swirl')
```
Quoiqu'il arrive, exécutez les lignes suivantes dans la console :
```{r}
#| echo: true
#| eval: false
library(swirl)
uninstall_all_courses()
```
Ici `R` vous demandera si vous voulez tout désinstaller, dites oui.
Puis tapez les lignes suivantes.
```{r}
#| echo: true
#| eval: false
install_course_github('EliasBcd', 'InitiationR')
select_language('french', append_rprofile = TRUE)
swirl()
```
Suivez ensuite les instructions qui apparaissent dans la console.
Utilisez toujours le même nom, il me permet de vous identifier.
Sélectionnez le cours `InitiationR`.
C'est normalement le cours numéro 1.
Sélectionnez enfin la leçon correspondant à votre progression dans le cours.
## Rendu des exercices
Vous devez déposés à la fin de chaque leçon swirl le fichier .txt généré sur Moodle, [ici](https://moodle.univ-paris8.fr/mod/assign/view.php?id=271762)
Le fichier s'appelle en général `nom_de_la_leçon.txt` et apparaît à la racine de votre dossier personnel.
Ici, par exemple, le fichier `Exercice_1.txt`. On le trouve sur l'onglet en bas à droite, dans l'onglet File.
![Exemple avec Exercice_1.txt](resources/RenduExercice.png)
Vous pouvez ensuite le déposer sur Moodle, dans le devoir "Suivi de la Progression".
Vous pouvez déposer plusieurs fichiers, cela ne pose pas de problème, tant qu'ils ont des noms différents.