To work with git in R studio, first exit out of R Studio (and R for that matter) and then install Git on your computer. Reasonable directions are available in the R Packages ebook section on Git. Once you have Git installed, open R Studio.
IMPORTANT: You may have to enter the location of the Git.exe file (in the \bin folder of the Git installation) in R Studio (Tools->Global Options->Git/SVN) and maybe even restart R Studio before Git will play nicely with R Studio.
Be sure to also set up a SSH RSA Key in R Studio and enter the key at GitHub, as described in the R Packages ebook section on Git. R Studio uses this in the place of your password to access GitHub
Now you should be able to choose from the Project dropdown in the upper right corner of R Studio "New Project->Version Control->Git and enter the GitHub URL for the Package. Be sure to enter the local directory where you want the source code to go.
Packages URLs include:
gangsta: https://github.com/FluvialLandscapeLab/gangsta.git
datapuppy: https://github.com/FluvialLandscapeLab/datapuppy.git
R Studio should pull the package source from GitHub for you.
IMPORTANT: You may have to enter the location of the Git.exe file (in the \bin folder of the Git installation) in R Studio (Tools->Global Options->Git/SVN) and maybe even restart R Studio before Git will play nicely with R Studio.
Be sure to also set up a SSH RSA Key in R Studio and enter the key at GitHub, as described in the R Packages ebook section on Git. R Studio uses this in the place of your password to access GitHub
Now you should be able to choose from the Project dropdown in the upper right corner of R Studio "New Project->Version Control->Git and enter the GitHub URL for the Package. Be sure to enter the local directory where you want the source code to go.
Packages URLs include:
gangsta: https://github.com/FluvialLandscapeLab/gangsta.git
datapuppy: https://github.com/FluvialLandscapeLab/datapuppy.git
R Studio should pull the package source from GitHub for you.