O'Reilly logo

Learning RStudio for R Statistical Computing by Edwin de Jonge, Mark van der Loo

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

Version control

In the following sections we will discuss what a version control system is, and demonstrate RStudio's version control capabilities.

Introduction to version control

As a project matures, scripts and reports are often adjusted, rewritten, or discarded altogether. These changes are usually improvements, but it's easy to make a mistake and you may wish to revert changes every now and then. Also, you may want to perform some experiments that require large changes in your scripts. Beginner programmers often solve this by making copies of files with special extensions such as .old or .1. After a while, such solutions usually end up in a kludge of files and directories from which it is hard to obtain the correctly running version, especially ...

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