O'Reilly logo

Web Application Development with R Using Shiny - Second Edition by Chris Beeley

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 Git and GitHub within Rstudio

To install Git, simply go to the URL mentioned earlier and download the .exe file for Windows, or on Ubuntu, run the following command:

sudo apt-get install git

For other flavors of Linux, check the package management system. Having installed Git, you now need to set up a new project within RStudio. A version control with Git (or SVN, a different version control system, which we will not consider here) is only possible when we use a project within RStudio.

Projects in RStudio

Using projects in RStudio is a way to organize your work. Each project has its own working directory with a separate R session, workspace, console input history, and open editor tabs (among other things). Each time a project is opened, each ...

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