This set of instructions was used successfully September 2014, with a group of 40+ students. We knew the OS for 35 of them, split evenly between Windows and *nix. Specifically, Mac (n = 16; 45%), Windows 8 (n = 12; 34%), Windows 7 (n = 6; 17%), Linux (n =1; 3%).

Level 1: Installation

Level 2: Setup

Level 3: Burn in

Level 4: Daily workflow

Troubleshooting

Push/Pull buttons greyed out in RStudio

Are you sure your local repository is tracking a remote repository, e.g. a GitHub repo? Go here for instructions on how to check. There is more discussion of this on an RStudio Support thread.

Push rejected

You might have changes on the remote AND on your local repo. Just because you don’t remember making any edits in the browser doesn’t mean you didn’t. Humor me.

Pull first. Resolve any conflicts. Then try your push again.

RStudio is not making certain files available for staging/commiting

Do you have spaces in your directory or file names? I told you that was a terrible idea. Get rid of them. If that doesn’t fix it, I also highly recommend you have a more powerful Git(Hub) client installed for these situations.

Resources

We are practicing what we preach! This entire website is created with the tools and workflows described above. Go ahead and watch us work.

Long-term, you should understand more about what you are doing. Rote clicking in RStudio may be a short-term survival method but won’t work for long.