10x your coding in RStudio with GitHub Copilot for 🆓

(if you’re a student or teacher)
…a super ez 6-step guide

by dahlia foo

GitHub Copilot is an

“AI pair programmer that offers autocomplete-style suggestions as you code”.

1️⃣ Set up a GitHub account

If you don’t already have one, create a GitHub account. You will need this to use GitHub Copilot.

2️⃣ Verify your status

GitHub Copilot is free for verified students, teachers, and maintainers of popular open-source projects.

Not yet verified? Join GitHub Global Campus and get verified.

3️⃣ Install R and RStudio

Ensure that you have R and RStudio installed on your computer.

4️⃣ Make sure you have the latest version of RStudio

GitHub Copilot is available for RStudio Desktop 2023.09.0 and later.

5️⃣ Enable Github Copilot in RStudio

In RStudio, navigate to Tools > Global Options > Copilot and check "Enable GitHub Copilot".

Then follow the instructions to complete the sign-in process to your GitHub account.

6️⃣ Start coding 👩🏻‍💻

Open a source file (.R, .py, .qmd, etc) and begin coding with Copilot. Have fun and enjoy the ✨magic!