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

RStudio environment customizations


Already in the first chapter, we showed you how to set up RStudio with the built-in settings so that it corresponds, practically and visually, with your wishes and preferences. But, there are also other options that cannot be set within the RStudio GUI since they are general R settings. An example of this is the Rprofile. But everything you determine in your personal Rprofile will also be executed in RStudio.

Customizing the Rprofile

You may have never heard of the so-called Rprofile before. In fact, at first glance, it is just a normal text file, which can be found in the R home directory. But it could also be possible that you do not have such a file.

The customization of Rprofile is an interesting way to load personally stored functions, options, scripts, the preferred CRAN mirror, and so on, for your R sessions at every startup of R, respectively RStudio.

Where to find your Rprofile

For Windows environment to change your Rprofile on Windows, navigate to...