R and RStudio Technical Guide

This is a collection of technical instructions for Amherst College students taking introductory Statistics classes. It explains how to get R and RStudio up and running locally, along with some additional guidance on popular topics of interest for students (e.g. getting LaTeX ready for .Rmd documents, transferring files from Romulus and Remus, and using GitHub with RStudio). Available here.

Instructions are included for both MacOS and Windows, on the following topics:

  • Installing R
  • Installing RStudio
  • Installing LaTeX for use in R Markdown (through tinytex)
  • Installing necessary R packages
  • Changing the RStudio theme
  • Changing the RStudio pane layout
  • Setting up a directory for your class documents
  • Transferring files from the Amherst server
    • By direct download
    • By mapping drives (MacOS only)
    • Through the command line (MacOS only)
  • Using GitHub with RStudio

Please open an issue to let me know if something isn’t working right, if you ran into some sort of error, or if you believe some part of the guide is outdated.

Avatar
Ryan McShane
Assistant Instructional Professor of Statistics

Ryan McShane earned his Ph.D. in Statistical Science from SMU. His research focuses on a blend of theoretical and applied statistics, which has included modeling intransitivity in paired comparisons and using GPS data to validate angling survey data, and is broadly interested in sports analytics, statistics and data science education, nonparametric methods, enumerative combinatorics, and interdisciplinary research.