R1: Download + Intro to R & Rstudio

Meike Niederhausen and Nicky Wakim

2024-09-30

Introduction to R

Artwork by @allison_horst

What is R?

  • A programming language
  • Focus on statistical modeling and data analysis
  • Useful for epidemiology, biostatistics, and data science
  • Great visualizations

What is RStudio?

Modern Dive

  • R is a programming language
  • RStudio is an integrated development environment (IDE)
    • An interface to use R (with perks!)

We open RStudio on our computer (not R!)

Modern Dive

If you have issues downloading on your laptop for in-class use

  • There is a really cool online interface that will be sufficient for our in-class use!

  • https://posit.cloud/

    • If you Google “Posit cloud” it should come up easily
  • I don’t recommend this for homework use (once we get to it)

So let’s take some time to download each!

 

  • You must install R first
    • Even if you have R installed already, I highly recommend installing the latest version
    • In the future, you will periodically want to update this
  • Install RStudio Desktop Open Source License (second)

 

  • If you get them both installed, then you can open up RStudio and start checking it out

RStudio anatomy

Emma Rand