The R Primer

A “primer” is supposed to be a book that covers very elementary needs. This book does so in a quite special way: It provides 142 problems with solutions, called “rules”, grouped into the chapters “Data import” (includes export, 21 rules, 24 pages), “Manipulating data” (29 rules, 42 pages), “Statistical analyses” (45 rules, 130 pages), “Graphics” (30 rules, 56 pages) and “R” (17 rules, 22 pages, referring to general things like interfacing with the system, getting help etc.). Each chapter has a brief introductory section, before the first rule is presented.