You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.Rmd
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,11 @@ The promise we make to instructors is that, if they assign our tutorial for Chap
31
31
32
32
Our causal claim is that, if an instructor were to randomly assign half the class to do these tutorials and half to simply complete the reading, the half completing the tutorials would perform much better for the rest of the course.
33
33
34
-
Note that most of the tutorials follow the associated chapters from [*R for Data Science (2e)*](https://r4ds.hadley.nz/). This is *not* true, however, for these tutorials: Introduction, RStudio and Code, RStudio and Github, Terminal, and Quarto. In those tutorials, we cover material which we feel belongs in any introductory data science course.
34
+
## Extra material
35
+
36
+
Note that most of the tutorials follow the associated chapters from [*R for Data Science (2e)*](https://r4ds.hadley.nz/). This is *not* true, however, for several other tutorials like Introduction, RStudio and Code, Quarto Websites Introduction, Terminal, et cetera. In those tutorials, we cover material which we feel belongs in any introductory data science course which uses RStudio.
37
+
38
+
However, the future of data science belongs to [Positron](https://positron.posit.co/), so we recommend that teachers use Positron rather than RStudio. In that case, you should assign the tutorials from the **[positron.tutorials](https://ppbds.github.io/positron.tutorials/)** package in place of the similar tutorials in **r4ds.tutorials**. We no longer actively maintain these extra RStudio tutorials in this package. In the next version, we will delete them.
35
39
36
40
## Installation
37
41
@@ -51,7 +55,18 @@ If R offers you the option to update some packages, you should do so. For packag
51
55
52
56
Then **restart your R session** or **restart RStudio**.
53
57
54
-
## Accessing tutorials
58
+
59
+
## Positron users
60
+
61
+
Positron user should be aware of two things. First, tutorials in Positron must be run "by hand," using the `run_tutorial()` function from the **learnr** package. Example:
Second, many of the **r4ds.tutorials** were written specifically for RStudio. Fortunately, the **[positron.tutorials](https://ppbds.github.io/positron.tutorials/)** package includes versions of those tutorials written for Positron.
68
+
69
+
## RStudio users
55
70
56
71
In order to access the tutorials, start by loading the package.
57
72
@@ -74,4 +89,4 @@ Because tutorials within the Tutorial pane are sorted in alphabetical order by t
74
89
75
90
In order to expand the window, you can drag and enlarge the tutorial pane inside RStudio. In order to open a pop-up window, click the "Show in New Window" icon next to the home icon.
76
91
77
-
You may notice that the Jobs tab in the lower left will create output as the tutorial is starting up. This is because RStudio is running the code to create the tutorial. If you accidentally clicked "Start Tutorial" and would like to stop the job from running, you can click the back arrow in the Jobs tab, and then press the red stop sign icon. Your work will be saved between RStudio sessions, meaning that you can complete a tutorial in multiple sittings. Once you have completed a tutorial, follow the instructions on the tutorial `Submit` page and, if you're a student, submit your answers as instructed.
92
+
You may notice that the Jobs tab in the lower left will create output as the tutorial is starting up. This is because RStudio is running the code to create the tutorial. If you accidentally clicked "Start Tutorial" and would like to stop the job from running, you can click the back arrow in the Jobs tab, and then press the red stop sign icon. Your work will be saved between RStudio sessions, meaning that you can complete a tutorial in multiple sittings. Once you have completed a tutorial, follow the instructions on the tutorial `Submit` page and, if you're a student, submit your answers as instructed.
0 commit comments