## The Art of R Programming: A Tour of Statistical Software DesignR is the world's most popular language for developing statistical software: Archaeologists use it to track the spread of ancient civilizations, drug companies use it to discover which medications are safe and effective, and actuaries use it to assess financial risks and keep economies running smoothly. The Art of R Programming takes you on a guided tour of software development with R, from basic types and data structures to advanced topics like closures, recursion, and anonymous functions. No statistical knowledge is required, and your programming skills can range from hobbyist to pro.Along the way, you'll learn about functional and object-oriented programming, running mathematical simulations, and rearranging complex data into simpler, more useful formats. You'll also learn to: –Create artful graphs to visualize complex data sets and functions –Write more efficient code using parallel R and vectorization –Interface R with C/C++ and Python for increased speed or functionality –Find new R packages for text analysis, image manipulation, and more –Squash annoying bugs with advanced debugging techniques Whether you're designing aircraft, forecasting the weather, or you just need to tame your data, The Art of R Programming is your guide to harnessing the power of statistical computing. |

### Contents

Vectors | 25 |

Matrices and Arrays | 59 |

Lists | 85 |

Data Frames | 101 |

Factors and Tables | 121 |

R Programming Structures | 139 |

Doing Math and Simulations in R | 189 |

ObjectOriented Programming | 207 |

Graphics | 261 |

Debugging | 285 |

Performance Enhancement Speed and Memory | 305 |

Interfacing R to Other Languages | 323 |

Parallel R | 333 |

Installing R | 353 |

Installing and Using Packages | 355 |

359 | |

### Other editions - View all

The Art of R Programming: A Tour of Statistical Software Design Norman Matloff No preview available - 2011 |

### Common terms and phrases

actually apply array assign Boolean browser Chapter chunk column-major order command components compute consider consists count CRAN create cross-validated data frame data set debugging discuss elements Emacs embarrassingly parallel environment error event list exam examsquiz execute Extended Example extract factor FALSE fangyan func function call function(x functional programming gender global variables graph graphics grep Here’s Here's an example histogram ifelse input install instance integer iteration Jill kval language length length(x Let’s Linux look loop matrix means mode modulo operator Note NULL object of class oddcount OpenMP operations options output package parallel plot pragma problem programming Python readLines recursive regression result return value rows and columns Rprof scalar Section server simple simulation specified statistical stored threads tion TRUE user system elapsed vector window wmins workers write