In this tutorial, we will explore version control features of RStudio. The version control system used is GitHub which is based on Git but offers additional features as it is a cloud based version control system.
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Version Control With GitHub & RStudio
1. Version Control With GitHub And RStudio
r-squared
December 11, 2014
r-squared.in Version Control With GitHub And RStudio December 11, 2014 1 / 19
2. Readme
License:
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
http://creativecommons.org/licenses/by-nc-nd/4.0/
You are free to:
Share: Copy and redistribute the material in any medium or format
Under the following terms:
Attribution: You must give appropriate credit, provide a link to the license, and indicate if
changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
NonCommercial: You may not use the material for commercial purposes.
NoDerivatives: If you remix, transform, or build upon the material, you may not distribute
the modi
4. Motivation
Figure: Version Control is important!
1
1Source: www.sharingthepoint.com
r-squared.in Version Control With GitHub And RStudio December 11, 2014 3 / 19
9. Requirements
Must have:
I Basic knowledge of R
I Working knowledge of RStudio
I Curiosity to explore new stu!
Nice to have:
I Basic knowledge of command shell
I Some experience with version control
r-squared.in Version Control With GitHub And RStudio December 11, 2014 6 / 19
10. Software
You need:
I R (stable version 3.1.1)
http://cran.r-project.org/
I RStudio (version 0.98.1081)
http://www.rstudio.com/products/rstudio/download/
I Git (version 2.1.2)
http://git-scm.com/downloads
I GitHub Acount
https://github.com/
I and a good internet connection!
r-squared.in Version Control With GitHub And RStudio December 11, 2014 7 / 19
11. Resources
Books and Tutorials
I Git Tutorial
http://git-scm.com/documentation
I Git Online
https://try.github.io/levels/1/challenges/1
I GitHub
https://help.github.com/
I RStudio
https://support.rstudio.com/hc/en-us
r-squared.in Version Control With GitHub And RStudio December 11, 2014 8 / 19
12. Installation: Git
Git can be installed from
http://git-scm.com/downloads
Information about GUI clients is available at
http://git-scm.com/downloads/guis
r-squared.in Version Control With GitHub And RStudio December 11, 2014 9 / 19
13. GitHub Account
You can create a new GitHub account at
https://github.com/
r-squared.in Version Control With GitHub And RStudio December 11, 2014 10 / 19
14. Create Repository
Steps for creating a repository:
1. Repository name
2. Description (Optional)
3. README
15. le (Suggested)
4. Private/Public (Suggested)
r-squared.in Version Control With GitHub And RStudio December 11, 2014 11 / 19
27. Create Project from Version Control
Create a new project and select the version control option as
shown above.
r-squared.in Version Control With GitHub And RStudio December 11, 2014 14 / 19
28. Select Git
Select Git (select Subversion if you are using it).
r-squared.in Version Control With GitHub And RStudio December 11, 2014 15 / 19
29. Clone Repository
Enter the git repository URL and the directory where the
repository should be cloned.
r-squared.in Version Control With GitHub And RStudio December 11, 2014 16 / 19
30. ADD.. COMMIT.. PUSH
Select Version Control in Tools drop down and you can access all
the Git commands directly from RStudio.
r-squared.in Version Control With GitHub And RStudio December 11, 2014 17 / 19
31. RStudio Interface for GitHub
Begin version control from RStudio....
r-squared.in Version Control With GitHub And RStudio December 11, 2014 18 / 19
32. Learn More...
Visit http://r-squared.in for free courses and tutorials
Like us on Facebook: https://www.facebook.com/rsquaredin
Follow use on Twitter: https://twitter.com/rsquaredin
Subscribe on Youtube : http://www.youtube.com/user/rsquaredin
r-squared.in Version Control With GitHub And RStudio December 11, 2014 19 / 19