File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ minimal guide to get started.
2424- [ Exploring the code and its history] ( pages/exploring_code.html ) :
2525 tag, diff
2626- [ Branching and merging] ( pages/branching.html ) .
27+ - [ Git/github with RStudio] ( pages/rstudio.html )
2728- [ Other (much more thorough) resources] ( pages/resources.html ) .
2829
2930I love git and github. I use both for keeping track of programming
Original file line number Diff line number Diff line change 1+ ---
2+ layout : page
3+ title : git/github with RStudio
4+ ---
5+
6+ [ RStudio] ( http://www.rstudio.com/ide ) is a popular development
7+ environment for [ R] ( http://www.r-project.org ) .
8+
9+ RStudio has built-in facilities for [ knitr] ( http://yihui.name/knitr/ )
10+ (the superb successor to [ Sweave] ( http://www.stat.uni-muenchen.de/~leisch/Sweave/ ) ) and [ Rmarkdown] ( http://www.rstudio.com/ide/docs/r_markdown ) (a
11+ variant of
12+ [ Markdown] ( http://daringfireball.net/projects/markdown/syntax ) ), which
13+ are highly recommended for writing data analysis reports.
14+
15+ And RStudio has built-in facilities for [ git] ( http://git-scm.com/ ) and
16+ [ GitHub] ( http://www.github.com ) . See
17+ [ this document on how to use version control with RStudio] ( http://www.rstudio.com/ide/docs/version_control/overview ) . It's
18+ pretty straightforward.
19+
20+ Basically, in RStudio you want to create a Project
21+ ([ described further here] ( http://www.rstudio.com/ide/docs/using/projects ) ),
22+ which is basically a directory with some special files to describe
23+ project-specific RStudio options. This Project will be your git
24+ repository. Or you can easily make a current git repository into an
25+ RStudio Project. And then you can use items in the menu bar to commit
26+ changes and push or pull from GitHub.
You can’t perform that action at this time.
0 commit comments