Setup using Github
You can use Github Codespace to run R and RStudio online without installing stuff on your computer.
Create Github account
If you don’t have a Github account, create an account.
- Sign up for a GitHub account.
- After you login, update your settings.
- Go to Emails settings.
- Select ‘Keep my email addresses private’. ‘Block command line pushes that expose my email’ should also be automatically selected.
- Optional. Go to Password and authentication settings.
- If needed, setup Passkey or two-factor authentication.
Start Codespace
Go to after_inaturalist_attendees repository and click the “Use this template” green button, and select “Create an new repository”. This will copy the workshop code to your Github account.
On the “Create a new repository” page, fill in the Repository name. Choose if you want the repo public or private. Then click “Create repository” green button.
You will be redirected to the new repository. Follow the instructions on Start Codespace.
The code for the workshop is in the “scripts” > “lesson-scripts” folder. These are R scripts. Select a line of code, and run the code using Cmd+Return (Mac) or Ctrl+Enter (Windows).
You should read the lessons in the order from “Introduction to Data Analysis” to “Example Analysis”. Skim the other lessons to see if they have examples relevant to your project. The R lesson script files starts with the Working with data lesson.
Stop Codespace
After you finish your work for the day, you need to stop R, push your code changes to your repository and, stop Codespace. Read the instructions on the Stop Codespace page.
Restart Codespace
Read the instructions on the Restart Codespace page.