Chapter 26 GitHub Copilot in RStudio
https://docs.posit.co/ide/user/ide/guide/tools/copilot.html
Verify you are a student or faculty member and get free access: https://education.github.com/discount_requests/application
Then, in RStudio, go to Tools, Global Options, Copilot, and make sure Enable Github Copilot is checked. Say yes if it asks to install Copilot.
Other potentially helpful links: - https://techcommunity.microsoft.com/t5/educator-developer-blog/step-by-step-setting-up-github-student-and-github-copilot-as-an/ba-p/3736279 - https://docs.github.com/en/github/getting-started-with-github/githubs-products#github-copilot - https://github.blog/2022-09-08-github-copilot-now-available-for-teachers/