Reputation: 61
Main Issue: RStudio > New Project > Version Control > Git states that Git was not detected on system path.
Overall, the main issue is that when I attempt to start a New Project under RStudio version control, it states that Git is not on my system path. This is the case despite manually setting the Git executable in Global Options. I can still access a Git-Bash terminal from RStudio and have successfully run basic git commands outlined in Happy With GitR Chapter 9 (https://happygitwithr.com/push-pull-github.html).
Other notes:
$ git
runs properly in RStudio in both a Git Bash terminal and Windows command prompt.etc
folder) C:/Program Files/Git/bin/git.exe
C:/Program Files/Git/bin/git.exe
and C:/Program Files/Git/cmd
to my system PATHUpvotes: 6
Views: 7498
Reputation: 31
I've had the same problem and tried everything you tried as well. This is what helped me in the end: re-agreeing to the xcode license agreement using xcode-select --install
(I have MacOS though).
Source: https://happygitwithr.com/troubleshooting.html#troubleshooting
Upvotes: 3