Basic Steps

Install R and RStudio on your computer by visiting the Surrey App Store and logging in using your university account details. You may find additional information on how to install R and RStudio on your personal computer on SurreyLearn.

When you start RStudio for the first time you will see three panes:

The above image shows the RStudio launch interface

Now let’s see what each one these windows is doing. You can type some code in the Console window and when you press ENTER the software will run (execute) that code. Typically, you will see some output in the Console, as the results from your analysis, but sometimes you might also get a warning message or an error message. Don’t worry if you get an error message (typically they appear in red colour) , nothing will happen!