R resources

Getting Help

  • Google it!: Try searching for generalised versions of any error messages you get whilst running your code. To generalise, remove text that is specific to your problem (i.e. names of variables, file paths, datasets, etc.). You’d be surprised how many other people have probably had the same problem and solved it.
  • Stack Overflow: There are over 450,000 questions tagged with ‘R’ on Stack Overflow. Here are the most popular ones, ranked by vote. Always search before asking, and make a reproducible example if you want to get useful advice. This is a minimal example that allows others who are trying to help you to see the error themselves.
  • Read package vignettes. For example, see the lme4 CRAN page to learn how to fit linear mixed effects models using the lme4 package.

 

General R Resources

 

R Markdown / Markdown resources

 

Git and GitHub resources