Real Ultimate Programming

The Home for People Who Like to Flip Out and Write Code

An R Cheatsheet

R is seriously cool. Unfortunately for me, I only use it about once a year, so I can never remember how to do anything; hence the cheatsheet.

Read a CSV file into a variable
users_usergroups <- read.csv(file="dev/users-per-group.csv", sep=",", head=TRUE)
Generate a boxplot
boxplot(users_usergroups$NUM_OF_USERS)
Generate a histogram
hist(users_usergroups$NUM_OF_USERS)

Back to flipping out…