Axel Nohturfft
St. George's University of London
29-April-2022
- Working in RStudio
- Scripting
- Variables
- Data types (numbers, text, boolean)
- Data structures (scalar, vector, matrix, data frame)
- Functions
- Subsetting 1 and 2-dimensional data structures
For this workshop we recommend that you use the university's online installation of RStudio Workbench at https://stats3.sgul.ac.uk/rstudio/.
Alternatively, to run RStudio on your own computer, install first R, then RStudio. Both R and RStudio are available for free for Mac, Windows and Linux.
- Start RStudio
- File menu > New project...
- Choose: Version Control > Git
- Paste the following address into the "Repository URL" field: https://github.com/nohturfft/r_for_beginners_2022_04_29
- Press tab key ("Project directory name" field will be filled automatically)
- Choose a desired folder in the "Create project as subdirectory of..." field
- Choose 'R version 3.5.3' in the dropdown box at the bottom of the window.
- Click the "Create project" button
- Open the first script by clicking on "basics.R" in the bottom-right panel of the RStudio window.