1.9 Resources

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, evaluate ?abc (in the Console or Editor panels of RStudio) to show R’s in-built help on the command with this name. For instance, evaluating ?sum provides 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 RStudio).

  • Two contributions to RStudio cheatsheets provide visual summaries of Base R (by Mhairi McNeill) and Advanced R (by Arianne Colton and Sean Chen) concepts and commands.

Base R summary from RStudio cheatsheets.

Figure 1.5: Base R summary from RStudio cheatsheets.

Advanced R summary from RStudio cheatsheets.

Figure 1.6: Advanced R summary from RStudio cheatsheets.

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.

1.9.3 Miscellaneous

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.

  • A series of software reviews (by Bob Muenchen) at r4stats describes and evaluates alternative user environments for interacting with R.


[01_basics.Rmd updated on 2021-06-15 15:18:54 by hn.]