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

Introducing the shinydashboard package

We have already gotten to know the Shiny framework, and learned how to create interactive web applications. This concept would perfectly apply to the concept of dashboards, as they also have to be available to the whole company. Therefore, the creators of the Shiny framework went one step further and developed an add-on to the Shiny library called shinydashboard. This package gives you the perfect structure to build your own dashboard powered by R.

Installing shinydashboard

Before you can install shinydashboard, you have to be sure that you have installed the Shiny package, as we learned in Chapter 4, Shiny – a Web-app Framework for R.

Installing the shinydashboard package is easy, as it is available on CRAN. So, we can install it by typing:


Explaining the structure of shinydashboard

Dashboards built with shinydashboard have the same underlying structure as other applications built with the Shiny framework. Their basic structure...