Pre-course installation

  • R and Rstudio are two separate programs. You must install R first. Then install Rstudio desktop.
  • For help, try watching this video
  • Even if you have R installed already, we highly recommend installing the latest version if it has been a while since you installed it. Just follow the instructions as below to update everything.
  • TRY TO DO THIS YOURSELF BEFORE THE WORKSHOP If you have tried it at home and still have questions, come to the workshop 30 minutes early and the instructors will try to help.

If you prefer to use PSU’s VLAB

You can run R and Rstudio through PSU’s virtual computing environment if you have PSU credentials (i.e. SPH students).

  • Go to vlab.pdx.edu
  • Sign in with your PSU (pdx.edu) credentials.
  • Open/launch “Computer Lab”
  • Sign in with your PSU (pdx.edu) credentials, again.
  • Open Rstudio
  • Read more about VLAB here

Install R and Rstudio on your computer

Install R (first)

Install RStudio Desktop Open Source License (second)

Open Rstudio

After installation, open Rstudio by clicking on the Rstudio icon, a round blue ball with R in it, that should look something like this:

Do not open the regular R software, it is just working in the background when you use Rstudio.

Install useful packages

Download this file to your computer, open in Rstudio, and click “source” to run the entire document, or run each line of code. See instructions in top comments.

Prepare for the course

Still want more preparation?

Instructor Info

Jessica Minnier, PhD & Meike Niederhausen, PhD, Oregon Health & Science University

Slides and code for BERD workshop materials: jminnier/berd_r_courses