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

Setting up R, RStudio, and the Shiny Server


Our server is up and running and we are able to communicate with our instance through the Secure Shell. Therefore, it is time to install the R, RStudio, and Shiny servers.

Choosing your RStudio version

There are two different versions of the RStudio Server: the open source version that is free to download, and the Enterprise version, also called RStudio Pro, which represents the paid version and contains some more administrative tools and features. The features are a more effective resource management tool, monitoring functionalities and enhanced security options. We will choose the open source version in the later parts of this chapter.

Installing base R

Open your terminal and connect with your instance. It is recommended that you use sudo in front of any command, since our instance is an Ubuntu server. Sudo is a command on Unix and Unix-like operating systems, such as Linux or Mac OS X, that is used to launch processes with the privileges of the...