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.
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....