Stanford MS&E 226 – Fundamentals of Data ScienceDownloading and using RThere is a computational component to this class. While you may use either Python or R, the “official” language of the course is R. An easy interface to R that you can use on your local machine is RStudio Desktop, which is available free for non-commercial use. R is powerful in part because of the range of packages available that increase its capabilities. After downloading and installing R, you will find it helpful to also load the following packages:
To install packages run install.packages(’<package_name>’) at the R command prompt. To load a package run library('package_name’) at the R command prompt. (Note that LLMs such as ChatGPT are quite fluent in both R and Python, and can effectively translate between the two as well.) Some links to get you started with R: |