|
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. |
7 |
| - |
8 |
| -## Data Sets |
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 |
16 |
| - |
17 |
| -## Software Setup |
18 |
| - |
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 |
31 |
| - |
32 |
| -### Windows |
33 |
| - |
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 |
| - |
| 5 | +## Install R and RStudio |
| 6 | + * Use the following to find installation instructions under “Preparations”: [https://datacarpentry.github.io/R-ecology-lesson/index.html#preparations](https://datacarpentry.github.io/R-ecology-lesson/index.html#preparations) |
| 7 | + |
| 8 | +* Follow the instructions to install the "tidyverse" and "ratdat" packages: |
| 9 | + * In the RStudio Console enter: |
| 10 | + install.packages("tidyverse") |
| 11 | + install.packages("ratdat") |
| 12 | + |
| 13 | +* If you see a question about “binary versions available…do you want to install from sources the package…” **SAY NO** |
| 14 | +* Once a package has been installed, you don’t need to install it again until there is an update |
| 15 | +* 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/) |
| 16 | + * Download and install the version that aligns with the R version that you currently have |
| 17 | + * Once installed, you might need to restart your R session |
| 18 | + |
| 19 | +* DO NOT download the dataset |
| 20 | + |
| 21 | +## Git installation |
| 22 | + |
| 23 | +### **Windows**: install the Bash Shell with Git |
| 24 | + * Download the Git for Windows [installer](https://gitforwindows.org/) and run it keeping all the defaults. |
| 25 | + * **Additional step** |
| 26 | + * In RStudio, open the Terminal tab |
| 27 | + * Copy and paste: setx HOME "%USERPROFILE%" |
| 28 | + * Press Enter, you should see: "SUCCESS: Specified value was saved" |
| 29 | + * Restart your R session |
| 30 | + |
| 31 | + ### **Mac** |
| 32 | + * Open the Terminal app from Applications (it is sometimes under a folder called "Other" or "Utilities"), type `git --version` and press Enter/Return |
| 33 | + * If it's not installed already, follow the instructions to Install the "command line developer tools" |
| 34 | + * Do not click "Get Xcode" because that will take too long and is not necessary for this workshop |
0 commit comments