Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)
Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)

Overview of this book

RStudio helps you to manage small to large projects by giving you a multi-functional integrated development environment, combined with the power and flexibility of the R programming language, which is becoming the bridge language of data science for developers and analyst worldwide. Mastering the use of RStudio will help you to solve real-world data problems. This book begins by guiding you through the installation of RStudio and explaining the user interface step by step. From there, the next logical step is to use this knowledge to improve your data analysis workflow. We will do this by building up our toolbox to create interactive reports and graphs or even web applications with Shiny. To collaborate with others, we will explore how to use Git and GitHub and how to build your own packages to ensure top quality results. Finally, we put it all together in an interactive dashboard written with R.
Table of Contents (17 chapters)
Mastering RStudio – Develop, Communicate, and Collaborate with R
About the Authors
About the Reviewer

Using Git with RStudio

To use Git with RStudio, we have to set the path to the Git executable in the global options. Therefore, we have to click on Tools | Global Options...:

Then, we select the Git/SVN tab and click on Browse..., and find the place where the Git executables were installed.

Using RStudio and GitHub via SSH

RStudio also makes it easy to establish a secure connection with via SSH. Therefore, we have to create a new SSH RSA key by clicking on Create RSA Key.... This will open a new window where we can set a location for the created RSA key to be saved. Normally, we can leave this on the default option.

We will then see a new window stating that our public/private RSA key pair has been created, and after closing this window, another will open and show us our public RSA key. We will then have to provide with this key. We can do so by logging in to our GitHub account and going to our Personal settings page.

Then, select the SSH keys tab and add...