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

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

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.