Using Git with RStudio
To use Git with RStudio, we have to set the path to the Git executable in the global options. Therefore, we have to click on Tools | Global Options...:
![Using Git with RStudio](/api/v2/epubs/9781783982547/files/graphics/B02104_08_01.jpg)
Then, we select the Git/SVN tab and click on Browse..., and find the place where the Git executables were installed.
![Using Git with RStudio](/api/v2/epubs/9781783982547/files/graphics/B02104_08_02.jpg)
Using RStudio and GitHub via SSH
RStudio also makes it easy to establish a secure connection with https://github.com/ via SSH. Therefore, we have to create a new SSH RSA key by clicking on Create RSA Key.... This will open a new window where we can set a location ...
Get Mastering RStudio – Develop, Communicate, and Collaborate with R now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.