|
2 | 2 | title: Setup
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -FIXME: Setup instructions live in this document. Please specify the tools and |
6 |
| -the data sets the Learner needs to have installed. |
| 5 | +## Install R and RStudio |
7 | 6 |
|
8 |
| -## Data Sets |
| 7 | + * Follow the [R Ecology Lesson instructions to install R and RStudio](https://datacarpentry.github.io/R-ecology-lesson/index.html#install-r-and-rstudio) |
| 8 | +* Install the "tidyverse" and "ratdat" packages. In the RStudio Console enter: |
9 | 9 |
|
10 |
| -<!-- |
11 |
| -FIXME: place any data you want learners to use in `episodes/data` and then use |
12 |
| - a relative link ( [data zip file](data/lesson-data.zip) ) to provide a |
13 |
| - link to it, replacing the example.com link. |
14 |
| ---> |
15 |
| -Download the [data zip file](https://example.com/FIXME) and unzip it to your Desktop |
| 10 | +```r |
| 11 | +install.packages("tidyverse") |
| 12 | +install.packages("ratdat") |
| 13 | +``` |
16 | 14 |
|
17 |
| -## Software Setup |
| 15 | +* If you see a question about “binary versions available…do you want to install from sources the package…” **SAY NO** |
| 16 | +* Once a package has been installed, you don’t need to install it again until there is an update |
| 17 | +* If you get an error message about needing RTools, you can find that here: [https://cran.r-project.org/bin/windows/Rtools/](https://cran.r-project.org/bin/windows/Rtools/) |
| 18 | + * Download and install the version that aligns with the R version that you currently have |
| 19 | + * Once installed, you might need to restart your R session |
| 20 | +* DO NOT download the dataset |
18 | 21 |
|
19 |
| -::::::::::::::::::::::::::::::::::::::: discussion |
20 |
| - |
21 |
| -### Details |
22 |
| - |
23 |
| -Setup for different systems can be presented in dropdown menus via a `spoiler` |
24 |
| -tag. They will join to this discussion block, so you can give a general overview |
25 |
| -of the software used in this lesson here and fill out the individual operating |
26 |
| -systems (and potentially add more, e.g. online setup) in the solutions blocks. |
27 |
| - |
28 |
| -::::::::::::::::::::::::::::::::::::::::::::::::::: |
29 |
| - |
30 |
| -:::::::::::::::: spoiler |
| 22 | +## Git installation |
31 | 23 |
|
32 | 24 | ### Windows
|
33 | 25 |
|
34 |
| -Use PuTTY |
35 |
| - |
36 |
| -:::::::::::::::::::::::: |
37 |
| - |
38 |
| -:::::::::::::::: spoiler |
39 |
| - |
40 |
| -### MacOS |
41 |
| - |
42 |
| -Use Terminal.app |
43 |
| - |
44 |
| -:::::::::::::::::::::::: |
45 |
| - |
46 |
| - |
47 |
| -:::::::::::::::: spoiler |
48 |
| - |
49 |
| -### Linux |
50 |
| - |
51 |
| -Use Terminal |
52 |
| - |
53 |
| -:::::::::::::::::::::::: |
54 |
| - |
| 26 | + * Download the Git for Windows [installer](https://gitforwindows.org/) and run it keeping all the defaults. |
| 27 | + * **Additional step** |
| 28 | + * In RStudio, open the Terminal tab (under the console tab) |
| 29 | + * Copy and paste: setx HOME "%USERPROFILE%" |
| 30 | + * Press Enter, you should see: "SUCCESS: Specified value was saved" |
| 31 | + * Restart your RStudio session |
| 32 | + |
| 33 | + ### Mac |
| 34 | + |
| 35 | + * Open the Terminal app from Applications (it is sometimes under a folder called "Other" or "Utilities"), type `git --version` and press Enter/Return |
| 36 | + * If it's not installed already, follow the instructions to Install the "command line developer tools" |
| 37 | + * Do not click "Get Xcode" because that will take too long and is not necessary for this workshop |
0 commit comments