Hello Everyone! This is the Readme File for the Intro to R and R Studio Course.
This workshop focused on how to start working with R and R studio and getting familiar with its interface and commands.
Rhys Davies and Lucia Michielin developed and curated the material in this repo.
In this course, we are going to cover:
- How to use and navigate R and R studio
- Getting started with coding
- Installing packages, loading libraries and using functions
- Summarising data with R
- Wrangling data with R
- Visualising data with R
Within each year's folder, you will find:
- A code folder (the code used in the two classes)
- A data folder (the dataset used in the two classes)
- Introduction to R and RStudio.pptx (a short introductory presentation)
Please make sure to use the most recent version. The current version is 2024
- Go to https://noteable.edina.ac.uk/login
- Login with your EASE credentials
- Select RStudio as a personal notebook server and press start
- Go to File > New Project> Version Control > Git
- Copy and Paste this repository URL https://github.com/DCS-training/IntroToRAndRStudio as the Repository URL (The Project directory name will be filled in automatically but you can change it if you want your folder in Notable to have a different name).
- Decide where to locate the folder. By default, it will locate it in your home directory
- Press Create Project Congratulations you have now pulled the content of the repository on your Notable server space.
- Go to (https://www.r-project.org/)[https://www.r-project.org/]
- Go to the download link
- Choose your CRAN mirror nearer to your location (either Bristol or Imperial College London)
- Download the correspondent version depending if you are using Windows Mac or Linux
- For Windows click on install R for the first time. Then download R for Windows and follow the installation widget. If you get stuck follow this (video tutorial)[https://www.youtube.com/watch?v=GAGUDL-4aVw]
- For Mac Download the most recent pkg file and follow the installation widget. If you get stuck follow this (video tutorial)[https://www.youtube.com/watch?v=EmZqlcKkJMM]
- Once R is installed you can install R studio (R interface)
- Go to (www.rstudio.com)[www.rstudio.com]
- Go in download
- Download the correspondent version depending on your Operating system and install it. If you get stuck check the videos linked above.
- Go to the software centre (press the up arrow on the bottom bar of Windows and double-click on the Software Centre app)
- Search for RStudio in the search bar
- Install the R 4.4.1(with RStudio 2024.04.2) NB this will take quite some time so make sure to do it ahead of the first class
All material collected here is free to use but is covered by a License: license