Book Image

Learning RStudio for R Statistical Computing

Book Image

Learning RStudio for R Statistical Computing

Overview of this book

Data is coming at us faster, dirtier, and at an ever increasing rate. The necessity to handle many, complex statistical analysis projects is hitting statisticians and analysts across the globe. This book will show you how to deal with it like never before, thus providing an edge and improving productivity. "Learning RStudio for R Statistical Computing" will teach you how to quickly and efficiently create and manage statistical analysis projects, import data, develop R scripts, and generate reports and graphics. R developers will learn about package development, coding principles, and version control with RStudio. This book will help you to learn and understand RStudio features to effectively perform statistical analysis and reporting, code editing, and R development. The book starts with a quick introduction where you will learn to load data, perform simple analysis, plot a graph, and generate automatic reports. You will then be able to explore the available features for effective coding, graphical analysis, R project management, report generation, and even project management. "Learning RStudio for R Statistical Computing" is stuffed with feature-rich and easy-to-understand examples, through step-by-step instructions helping you to quickly master the most popular IDE for R development.
Table of Contents (13 chapters)

Moving around RStudio


The features that we will discuss in this chapter are spread across the four main panels of RStudio. Most panels harbor multiple tabs with different functionalities. The main panels shown in the following figure (in clockwise order) are as follows:

  • The source editor and data viewer panel: This panel can harbor a variable number of tabs, each containing an open (source) file or a view of a data.frame

  • The command history and workspace browser: When working with RStudio projects, a tab for version control features can be added

  • The R console: This panel helps in working directly with R. It has no separate tabs

  • The file, help, package, and plots panel : This panel is used for browsing files, viewing help, searching, and package (un)loading and installation

Each tab in each panel has its own set of menu items, relevant for the content of that tab.

Every panel has a maximize/minimize button at the top right-hand side. When maximized or minimized, the respective button...