1
Introduction
2
Why R?
3
R and RStudio Basics
3.1
What is R?
3.1.1
R beginnings
3.1.2
R packages
3.2
What is RStudio?
3.2.1
Installing R and RStudio Desktop
3.3
Working in RStudio Server
3.3.1
Logging in and initial screen
3.3.2
Basic Workflow with RStudio
3.3.3
Sharing Projects on RStudio Server Pro
3.4
RStudio Layout
3.4.1
Code Editor / View Window
3.4.2
Environment / History
3.4.3
Console
3.4.4
The
help
function (
?
)
3.4.5
The bottom right pane
4
R Markdown
4.1
Fixing Errors in an R Markdown file
4.2
The Components of an R Markdown File
4.2.1
YAML
4.2.2
Headers
4.2.3
Emphasis
4.2.4
Links
4.2.5
Lists
4.2.6
Miscellaneous Markdown
4.2.7
R Chunks
4.2.8
Inline R code
4.2.9
Code Highlighting
4.3
R Markdown Chunk Options
4.4
General Guidelines for Writing R Markdown Files
4.5
Help -> Cheatsheets
4.6
Spell-check
5
Intro to R using R Markdown
5.1
A beginning directory/file workflow
5.2
Using R with periodic table dataset
5.2.1
Loading data from a file
5.3
Data structures
5.3.1
Data frames
5.3.2
Vectors
5.3.3
Factors
5.4
Vectorized operations
5.5
Indexing and subsetting
5.5.1
Using
[ ]
with a vector/variable
5.5.2
Using
[ , ]
with a data frame
5.5.3
Using logicals
5.6
Functions
5.7
Closing thoughts
6
Deciphering Common R Errors
6.1
Error: could not find function
6.2
Error: object not found
6.3
Misspellings
6.4
Unmatched parenthesis
6.5
General guidelines
7
Concluding Remarks
8
References
Published with bookdown
Create a GitHub Issue
Email Chester
Getting Used to R, RStudio, and R Markdown
8
References
Grolemund, Garrett. 2014.
Hands-on Programming with r
. O’Reilly.