R Stats Bootcamp

01 Setup & intro

Ed Harris

R Stats bootcamp


https://rstats-bootcamp.github.io/website/

Bootcamp introduction

(your first day with R)

What will you learn


  • How the R Stats Bootcamp works

  • R motivation

  • Install R and RStudio, or set up RStudio Cloud

  • RStudio components and setup

  • Workflow for scripts in R

  • Practice exercises

How the R Stats Bootcamp works

R motivation

  • Designed for beginners

  • Best practice*

  • Open source and free

Install R and RStudio, or set up RStudio Cloud

Option 1

Download and install R from CRAN

then download and install RStudio desktop

Install R and RStudio, or set up RStudio Cloud

Option 2

RStudio Cloud

  • Some restrictions

  • No setup, free, slick

RStudio components and setup

Workflow for scripts in R


  • Header

  • Contents

  • One separate section for each item of contents

Example Script

Practice Exercises


It is important to formally answer the exercise questions.