Chapter 1 Introduction

1.1 Obtaining and installing R

You can download and install R from the CRAN (Comprehensive R Archive Network) website at http://cran.r-project.org/. Choose the appropriate link for your operating system (Mac OS X, Windows, or Linux), and follow the (not very complicated) directions. Unless you have some special requirements for customization, you should choose the precompiled binary rather than the source code.

As it comes, R has a plain but serviceable interface. It can be run from the command line or from a set of windows (console, graphics, help, etc.) on MacOS X or Windows. A neater, more streamlined—but perhaps less flexible—integrated development interface can be had by installing the freeware RStudio from http://www.rstudio.org/ ...

Get Using R for Numerical Analysis in Science and Engineering 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.