R and RStudio Setup

Pompeo College of Business
Department of Economics & Business Analytics

BANL 6100 – Business Analytics

Mehmet Balcilar

2023-08-26

Introduction to R

How to start with R at home: 5 basic steps

3 Create R Working directory on your computer.

For example, create a folder “BANL6100” on the Desktop

Start RStudio & setup a default Working directory in RStudio:

Tools >> Global options… >> General >> Default working directory.

(if necessary, see instructions here Changing the Working Directory)

4 Download the Introduction R Tutorial code and unzip it.

You may with file “R_basics_part1.R” in the “lab_code” folder.

5 Use stackoverflow.com for help

You can find useful community-based R help at

stackoverflow — A public platform serving 100 million people every month

{swirl} — Free online course in R

datacamp.com — Free introduction to R

MindMajix — R Tutorial - Business Analytics

Meetup - Business Analytics Group