⇠ RfficeHours Home || Tutorial 2 ⇢

logo
Learning Outcomes
1 You will be able to open RStudio and know where to find basic functions
2 You will be able to create and organise a new project
3 You will be able to load your data into R and view it
4 You will know the purpose and of code annotation and commenting

1 File structure

Before you can use R and RStudio, it’s important to understand what you’re looking at and where to find things.

1.1 R vs RStudio

1.1.1 What is the difference between R and RStudio?

R is the program and programming language that allows you to input commands and get the computer to do things. In order to interact with R, some people use a simple R interface, some people use the command line, and some people use RStudio.

RStudio is a GUI (Graphical User Interface) that allows you to interact with R and keep everything organised.