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)

Viewing data and the object browser


Reviewing your data and other R objects as you develop your analyses is an excellent way to monitor the progress of your work. We will now discuss RStudio's features that allow for the inspection of objects and data.

The panel on the top right-hand side holds the Workspace tab. This tab has menu items to load and save workspaces from or to a .RData file (R's native format to store data). There is an Import Dataset button for convenient loading of ASCII files, as discussed in Chapter 1, Getting Started. The Clear all button removes all the variables from the current workspace. Finally, the Refresh button re-examines the workspace and refreshes the workspace browser.

Buttons of WorkSpace

To show some of the data viewing features, we will use the Abalone project from Chapter 1, Getting Started. To open Abalone, navigate to Projects | Abalone. If you followed the instructions in Chapter 1, Getting Started precisely, there is only the abalone variable....