Getting started on GitHub
GitHub is an online database for git repositories.
git is a command-line application that helps version control software.
- Install the homebrew package manager: https://brew.sh/
- Install Visual Studio Code: https://formulae.brew.sh/cask/visual-studio
In Visual Studio Code
- Open Visual Studio code, sign in, sync your settings by signing in with GitHub
- Install the Extension: https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
- Click clone repository and select this repository. If you want an extra layer of backup, you can clone the repository to your google drive or dropbox.
For version control in Visual Studio
- Look for the source control icon below the search icon
- Click on the source control menu bar (the three dots)
- Select pull to pull changes, or select push to push changes you make locally.
- Have it good
To try Copilot as a Student
- Get verified as a student with your .edu email for the GitHub student developer pack: https://education.github.com/pack or https://docs.github.com/en/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student
- Install the extension: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
- Follow these steps to enable it: https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code
- Open a piece of R code and try it out.
- Read the tutorial on R: https://code.visualstudio.com/docs/languages/r