Getting Started with RStudio: An Integrated Development Environment for R
Dive into the RStudio Integrated Development Environment (IDE) for using and programming R, the popular open source software for statistical computing and graphics. This concise book provides new and experienced users with an overview of RStudio, as well as hands-on instructions for analyzing data, generating reports, and developing R software packages.
The open source RStudio IDE brings many powerful coding tools together into an intuitive, easy-to-learn interface. With this guide, you’ll learn how to use its main components—including the console, source code editor, and data viewer—through descriptions and case studies. Getting Started with RStudio serves as both a reference and introduction to this unique IDE.
- Use RStudio to provide enhanced support for interactive R sessions
- Clean and format raw data quickly with several RStudio components
- Edit R commands with RStudio’s code editor, and combine them into functions
- Easily locate and use more than 3,000 add-on packages in R’s CRAN service
- Develop and document your own R packages with the code editor and related components
- Create one-click PDF reports in RStudio with a mix of text and R output.
- Chapter 1 Overview, Installation
- What is R?
- What is an IDE?
- Why RStudio?
- Using RStudio
- Layout of the Components
- Installing RStudio
- Chapter 2 Case Study: Data Cleaning
- Using Projects
- Reading in a Data File
- Tab Completion
- Workspace Component
- Data Cleaning
- Using the Code Editor to Write R Scripts
- Using Add-On Packages
- Graphics
- All Finished, for Now
- Chapter 3 The Console and Related Components
- Entering Commands
- Command-Line Conveniences
- Workspace Browser
- The Help Page Viewer
- Graphics in RStudio
- External Programs (Desktop Version)
- Chapter 4 Case Study: Creating a Package
- Creating Functions from Script Files
- A Package Skeleton
- Documenting Functions With roxygen2
- The devtools Package
- Package Data
- Package Examples
- Adding Tests
- Building and Installing the Package
- Chapter 5 Programming R with RStudio
- Source Code Editor
- Package Maintenance
- Organizing Activities with Projects
- Case Study: Report Generation using Sweave
|