Appendix: Installation

This appendix provides some details for installing R on Windows, OS X, and Linux distributions. Instructions for installing the Rtools component required for building R packages on Windows are also provided. Up-to-date instructions are maintained on the book’s website, http://www.mango-solutions.com/wp/teach-yourself-r-in-24-hours-book/.

Installing R

R is installed from a central repository named CRAN. Most users typically navigate to CRAN via www.r-project.org, although you can also navigate directly to CRAN.

1. Click the “download R” link on the R Project main page.

2. Choose the most local CRAN mirror. Each mirror is exactly the same, so it does not actually matter which one you choose, although it helps reduce traffic ...

Get Sams Teach Yourself R in 24 Hours 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.