O'Reilly logo

RStudio for R Statistical Computing Cookbook by Andrea Cirillo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using GitHub with RStudio

Have you ever found yourself looking desperately at your RStudio console showing a runtime error? Doesn't it make you think of those wonderful moments a few days ago, where you were happily executing your code?

Have you ever thought "If I just had a time machine, I would go back to those days!"?

Well, what we will show you here is exactly that—a way to add your RStudio project to a time machine.

The name of this time machine is Git, which is a popular version-control system created by Linus Torvald; yes, he is the same guy who created Linux.

The basic rationale behind this kind of software is quite simple: the changes within a script (and actually every kind of file) are stored in commits and all commits are stored in one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required