I'm trying to use version to upload an R package to github. The problem is, once I've installed git version 2.10.0, Rstudio will not open. Oddly, R still works if I don't use R studio. I've re-installed R (now using 3.3.1) R studio, and Rtools. If I uninstall git, Rstudio works again. I've used the 'Run Diagnostics' tool in the bin folder of Rstudio (while git is installed) to try and figure out what is going on. I get the following mess in the command window:
>Attempting to launch R session...
>ogramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11
>Adapter;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program
>32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management
>Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
>Program Files (x86)\Intel\Intel(R) Management Engine
>Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
>vo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth
>Files\MATLAB\R2014a\bin;C:\Program Files (x86)\Windows
>R session launched, attempting to connect on port 29645...
>Connected to R session, attempting to initialize...
We have seen issues of this form occur when RStudio is pointing to the 'wrong' Git executable; for example, if you tried to indicate to RStudio that
git-bash.exe should be used rather than
git.exe, bad things will happen. (The preview version of RStudio now tries to enforce that you choose a git executable called
The simplest way to resolve this is to clear out your RStudio local session state -- see https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State for more information.