This introduction to R is derived from an original set of notes describing the S and S-Plus environments written by Bill Venables and David M. Smith (Insightful Corporation). We have made a number of small changes to reflect differences between the R and S programs, and expanded some of the material.

We would like to extend warm thanks to Bill Venables (and David Smith) for granting permission to distribute this modified version of the notes in this way, and for being a supporter of R from way back.

W. N. Venables, D. M. Smith and the R Development Core Team

Sommario:

•Introduction and preliminaries

•Simple manipulations; numbers and vectors

•Objects, their modes and attributes

•Ordered and unordered factors

•Generalized transpose of an array

•Grouping, loops and conditional execution

•Nonlinear least squares and maximum likelihood models