Appendix A

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 also want to install an editor with more functionality. Because RStudio runs on all platforms and is integrated nicely with R, we also discuss the installation of RStudio on your system.

tip In this appendix, we don’t have enough space to provide installation instructions for every possible operating system. You can find that information on the R and RStudio websites:

tip If you use Linux, depending on the distribution you use, you may find that R comes with the operating system and doesn’t require a separate installation.

Installing and Configuring R

Installing R isn’t difficult, but tweaking it to fit your own needs requires a bit of explanation.

remember We can’t cover all possibilities here, so be sure to read the information on the R website for more insight on how to install and configure the software.

Installing R

You can find the installation files and all information about installation on one of the mirror sites of the Comprehensive R Archive Network (CRAN; for example, http://cran.rstudio.com/ ...

Get R For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.