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
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Introducing version control


Data analytics projects with R can sometimes get very complex, especially when we have to work on our analysis over a longer period of time. To keep track of our changes and our progress in the project, it is important to use a version control system that can support us on these tasks. The best known of these version control approaches is Git. It helps us annotate every change we make to our code. This is also very helpful when we collaborate with other people, or when other people have to read and understand our code later on, and also when they need to understand the steps of its development. Git describes itself as a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. You can read about it at https://git-scm.com/.

Gits can be created on servers, or on our local machine. Their distributed nature lets you sync commits with other machines. An alternative to creating your...