Skip to Main Content

Intro to R Programming

R is a powerful tool for data analysis and visualization; this guide will provide resources to get you started with this programming language!

Need Help in RStudio?

To get help while using RStudio, access the ‘Help’ tab in the lower right pane.

The home icon links to R resources & manuals. Use the search bar to enter names of functions or packages to review the help documentations.

In the Script Editor, you can also enter help codes:

help.start()  opens the main page of the ‘Help’ tab
help(FunctionName) search for help on function
?FunctionName same as help()

Resources for Learning R

There are a number of informative resources available online for both learning R and for troubleshooting code.

Cheatsheets offer quick reference on basic R functions:

Helpful e-books:

Tutorial websites:

  • Datacamp offers tutorials on specific R topics
  • R for Social Scientists course from Data Carpentry covers data wrangling and visualization
  • Postit Cloud has very informative guides and recipes with examples
  • R Graph Gallery displays examples of R-generated graphs and tutorials on customizing your graphs
  • Geeks for Geeks R Tutorial
  • Quick-R is a basic R tutorial for beginners
  • Sage Campus offers online self-paced courses: Introduction to R, Practical Data Management with R, and Interactive Visualization with R
  • STHDA provides easy R tutorials with examples

Troubleshooting R Code

If you have issues running with a code, you can search in online forums, communities, discussion, and message boards to determine if others have the same issue, find proposed resolutions from other users, or post your question to the online help community. 

Some R Help Forums:

For large Chapman research computing workloads, you are recommended to connect with Research Technology Support for running R and RStudio on the Keck Computational Research Cluster. Contact researchcomputing@chapman.edu with questions or requests.