We conclude this introductory chapter on Basic R concepts and commands with some pointers to related resources.
1.9.1 Help on R
Most brains have better things to do than remembering all R commands and arguments. Instead, more experienced users of R are typically very good at looking up relevant information. To do this effectively and efficiently, knowing how and where to look is important. Here are some links to helpful resources:
To see the documentation of any R command named
?abc(in the Console or Editor panels of R Studio) to show R’s in-built help on the command with this name. For instance, evaluating
?sumprovides a precise definition and some examples of the function
sum(introduced above). Although some parts of the documentation may be difficult or confusing at first, it’s typically helpful to examine the definition, run the provided examples, and try to understand what they do and show.
A more extensive and invaluable source of help are the command documentations and vignettes that come with packages (and are accessible via the Help or Packages panels of R Studio).
Two contributions to R Studio Cheat Sheets provide visual summaries of Base R (by Mhairi McNeill) and Advanced R (by Arianne Colton and Sean Chen) concepts and commands.
1.9.2 Learning R
There is no shortage of introductory books and scripts on R, but it is helpful to look for one that fits your interests and level of expertise.
YaRrr! The Pirate’s Guide to R (by Nathaniel D. Phillips) is an introduction that approaches R in a funny and entertaining fashion. (See Rpository.com/learnR/ for a course with corresponding exercises and solutions.)
Hands-On Programming with R (by Garrett Grolemund) provides a solid introduction to R.
Other helpful links that do not fit into the above categories include:
R-bloggers collects blog posts on R.
- Quick-R (by Robert Kabacoff) is a popular website on R programming.
R-exercises provides categorized sets of exercises to help people developing their R programming skills.
[01_basics.Rmd updated on 2020-05-25 14:33:59 by hn.]