Installing R and RStudio
Before you use R, of course, you first have to install R. Although you can use the built-in code editor, you may want to install an editor with more functionality as well. Because RStudio runs on all platforms and is integrated nicely with R, we also discuss the installation of RStudio on your system.
Installing and Configuring R
Installing R isn’t difficult, but tweaking it to fit your own needs requires a bit of explanation.