Skip to content

Commit ea461da

Browse files
committed
Add a page about using git/github with Rstudio
1 parent 0b0b215 commit ea461da

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

2930
I love git and github. I use both for keeping track of programming

pages/rstudio.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.

0 commit comments

Comments
 (0)