Summary and Setup

This is a new lesson built with The Carpentries Workbench.

This workshop teaches the fundamental skills needed to work with R for data analysis. You will learn how to:

  • Navigate RStudio and understand the R environment
  • Read, manipulate, and write data files
  • Understand R data types and structures
  • Create functions to automate repetitive tasks
  • Use conditional statements and loops for data analysis
  • Follow best practices for writing reproducible R code

No prior programming experience is required.

Data Sets


Download the inflammation dataset:

Software Setup


Discussion

Details

This workshop uses R (the programming language) and RStudio (an integrated development environment that makes R easier to use). You will need to install both programs on your computer.

R Installation:

  1. Download R from CRAN
  2. Run the .exe file and follow the installation wizard
  3. Use all default settings

RStudio Installation:

  1. Download RStudio Desktop (Free) from Posit
  2. Run the installer and follow the prompts
  3. Use all default settings

R Installation:

  1. Download R from CRAN
  2. Choose the appropriate .pkg file for your macOS version
  3. Open the downloaded file and follow the installation instructions

RStudio Installation:

  1. Download RStudio Desktop (Free) from Posit
  2. Open the downloaded .dmg file
  3. Drag RStudio to your Applications folder

Questions? Contact .