Getting to Know R
Getting ready for the course
Download
Intro_to_R.tar
fromhttps://ki-data.mit.edu/bcc/teaching/Intro_to_R/
onto Desktop.Un-compress
Intro_to_R.tar
to a folder "Intro_to_R"Open RStudio
Under the File menu, click on New project, choose Existing Directory
Use Browse to locate to the "Intro_to_R" folder and then Create Project This will be your working directory for the rest of the day (e.g. ~/Desktop/Intro_to_R)
Create a new R script (File > New File > R script) and save it in your working directory (e.g. intro_to_R.R). Here, you can type all the commands we run during the course, and save it for later reference.
Using R as a calculator
R is good at statistics
The R syntax from an example script
Last updated