Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rstudio cant detect git

Tags:

git

r

rstudio

I trying to create a project from version control. However when I click git I get the following error:

Git was not detected on the system path.

Googling showed me that I to specify my git executable in my options:

So therefore I filled in "C:/Program Files/Git/bin/git.exe" in the field named: Git executable.

Having done this I still receive the same error however.

Any thoughts on what goes wrong here?

like image 942
John Dwyer Avatar asked Dec 28 '25 16:12

John Dwyer


1 Answers

Configure RStudio to use git

Open RStudio

Click Tools -> Global Options -> Git/SVN

If Git executable shows (none), click Browse and select the git executable installed on your system

Important:

Restart RStudio if you make any changes.


Read this for more info:
https://stat545-ubc.github.io/git03_rstudio-meet-git.html

like image 127
CodeWizard Avatar answered Dec 30 '25 13:12

CodeWizard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!