As of 2023-09-26, GitHub Copilot is now available as a preview feature in RStudio 2023.09.0. Copilot support is expected to be generally available in RStudio desktop, RStudio server and Posit Workbench in a future release. To provide feedback or report bugs, please open a GitHub Issue on the RStudio repo. For more information about using GitHub Copilot in RStudio, please see the GitHub Copilot section in the RStudio User Guide.
If you would rather use a Chat-style interface, please see the {chattr}
package. chattr
is an interface to LLMs (Large Language Models). It enables interaction with the model directly from the RStudio IDE. chattr
allows you to submit a prompt to the LLM from your script, or by using the provided Shiny Gadget.