Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Getting Started with RStudio
Preface
Conventions Used in This Book
Using Code Examples
SafariĀ® Books Online
How to Contact Us
1. Overview, Installation
What is R?
What is an IDE?
Why RStudio?
Using RStudio
Desktop Version
Server Version
Which Workspace?
Projects
Which R?
Layout of the Components
Keyboard Shortcuts
The Options Dialog
Installing RStudio
Updating RStudio
2. Case Study: Data Cleaning
Using Projects
Reading in a Data File
Tab Key Completion
Workspace Component
Using the Right Class to Store Data
Data Cleaning
Using the Code Editor to Write R Scripts
Using Add-On Packages
Graphics
Command History
All Finished, for Now
3. The Console and Related Components
Entering Commands
Automatic Insertion of Matching Pairs
R Script Files
Command-Line Conveniences
Tab Completion
Keyboard Shortcuts
Command History
Searching the history stack
History Browser
Workspace Browser
Editing and Viewing Objects
Importing Data Sets
The Help Page Viewer
The Browser
The Plots Browser
Interactivity
The manipulate Package for RStudio
External Programs (Desktop Version)
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
5. Programming R with RStudio
Source Code Editor
Basics
Keyboard shortcuts
R Programming Features
Syntax highlighting
Bracket matching
Automatic indenting
Code completion and usage information
Extract Function
Run or source commands
Navigation
Jump to function
Go to file/function
The File Browser
File upload
Debugging R Code in RStudio
Package Maintenance
Case Study: Report Generation
About the Author
Colophon
← Prev
Back
Next →
← Prev
Back
Next →