Can't connect RStudio to Github

Hi,

This morning, I tried to connect RStudio to Github, but it says 'Git was not detected on the System path'. When I ran the command 'which git', it responded with '/usr/bin/git' which I guess confirms that I've already installed Github Desktop, which in fact I did before trying to make connection between RStudio and Github. I was wondering if someone could help with it, please. This has already eaten major chunk of my day. :frowning:

It seems you have already answered your own question on this other topic.

Hi,

This morning, I tried to connect RStudio to Github, but it says 'Git was not detected on the System Path'. When I ran the command 'which git', it read back 'usr/bin/git' which I assume confirms that I've already installed Github Desktop which in fact I did before trying to make the connection between Rstudio and Github. Adding more, when I tried it through Tools > Vision Control > Project Setup > Git/SVN: Version Control System only shows one option and that is 'none'. I'll really appreciate it if someone could help me with it, please. Thank you!!!

R should be able to automatically detect it git if it is installed when you go to tools.

Assuming you are using a Mac OS, here is a way to sidestep installing all of Xcode (which probably would require a very long time to download on a slow connection) to just get the command line tools : How to Install the Command Line Developer Tools Without Xcode « Mac Tips :: Gadget Hacks

Git uses the command line to do its magic so this is a necessary step.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.