Intro to R
Welcome All!
When (workshop will run over 2 days):
-
Day 1: 10:00 am – 4 pm Monday 8th April
-
Day 2: 10:00 am – 4 pm Tuesday 9th April
Before the course please make sure you have:
- Charger
- Positive attitude!
- RStudio and R installed (see the instructions below)
- A jumper (The room can get cold in the afternoons so please bring something to keep warm.)
At the end of the workshop you will be able to:
- Use R to navigate data
- Import, reformat, and manipulate data frames
- Plot informative plots using ggplot
RStudio and R installation
R and RStudio are separate downloads and installations. R is the underlying statistical computing environment, but using R alone is no fun. RStudio is a graphical integrated development environment (IDE) that makes using R much easier and more interactive. You need to install R before you install RStudio. Please choose the operating system (OS) that you use.
Garvan Owned Devices
If anyone has a Garvan-owned Windows device and requires any software installed, they need to contact ithelp@garvan.org.au to get it done (as they might not have administrator privileges), and if they have Garvan-owned MacBook, they can install any software by themselves.
Windows
To install R and RStudio
- Download R from the CRAN website.
- Click on and run the .exe file that was just downloaded. Please just leave all default settings in the installation options.
- Go to the RStudio download page
- Under Installers, select RStudio x.yy.zzz - Windows XP/Vista/7/8 (where x, y, and z represent version numbers)
- Double-click the file to install it
- Once it’s installed, open RStudio to make sure it works and you don’t get any error messages
If there is an error, don’t worry. Let us know at the beginning of the session; we will be able to help out.
macOS
To install R and RStudio
- Download R from the CRAN website.
- Note that for older Macs without the M1/M2 chip, you must select the appropriate Intel download from the CRAN homepage.
- Click on the pkg file that was just downloaded. Please just leave all default settings in the installation options.
- Go to the RStudio download page
- Under Installers, select RStudio x.yy.zzz - Mac OS X 10.6+ (64-bit) (where x, y, and z represent version numbers)
- Double-click the file to install it
- Once it’s installed, open RStudio to make sure it works and you don’t get any error messages
If there is an error, do not stress. Let us know at the beginning of the session; we will be able to help out.