I get the following error in the console when I I press Enable Github Copilot in Tools > Copilot:
Error in .rs.ensureDirectory(targetDirectory) :
failed to create directory at path 'C:/Users/user/AppData/Local/Microsoft/Windows/INetCache/RStudio/copilot/dist'
In addition: Warning message:
In dir.create(path, recursive = TRUE) :
cannot create dir 'C:\Users\user', reason 'Permission denied'.
In addition I get a popup error.
r error 4 (same as above)
I managed to install copilot in vscode through Extensions.
IT was unsure, so I am trying to understand if my work is blocking it.
Maybe related to administrator privileges?