Please install R and RStudio as described here: http://asta.math.aau.dk/software/R-installation.
To recap basic statistics, please review the following material (feel free to jump in the material):
In general, there are many good videos at "Statistics and probability" at Khan Academy and at DataCamp.
Please review the ressources given above to be sure that you are not missing anything.
Please familiarise yourself with the following material:
Make the exercises in R-intro-exercises.R
. Open the file in RStudio and try to compile it. Remember to save it somewhere you can find again.
You can find more material here: