I am trying to enable GitHub Copilot on RStudio, but I consistently get the same error: An error occurred while starting the Copilot Agent
. I tried installing the agent and realized it is, in fact, the copilot-vim
package. I installed it and tried again with no success. I also installed nodejs_22
following the steps in the copilot-vim GitHub repository. Finally, I tried launching RStudio with sudo
, as it was supposed to ask for my permission to connect to the agent, but that didn’t help either.