Extending R
- Length: 382 pages
- Edition: 1
- Language: English
- Publisher: Chapman and Hall/CRC
- Publication Date: 2016-05-24
- ISBN-10: 1498775713
- ISBN-13: 9781498775717
- Sales Rank: #1314302 (See Top 100 Books)
Up-to-Date Guidance from One of the Foremost Members of the R Core Team
Written by John M. Chambers, the leading developer of the original S software, Extending R covers key concepts and techniques in R to support analysis and research projects. It presents the core ideas of R, provides programming guidance for projects of all scales, and introduces new, valuable techniques that extend R.
The book first describes the fundamental characteristics and background of R, giving readers a foundation for the remainder of the text. It next discusses topics relevant to programming with R, including the apparatus that supports extensions. The book then extends R’s data structures through object-oriented programming, which is the key technique for coping with complexity. The book also incorporates a new structure for interfaces applicable to a variety of languages.
A reflection of what R is today, this guide explains how to design and organize extensions to R by correctly using objects, functions, and interfaces. It enables current and future users to add their own contributions and packages to R.
Table of Contents
Part I: Understanding R
Chapter 1: Objects, Functions and Interfaces
Chapter 2: Evolution
Chapter 3: R in Operation
Part II: Programming with R
Chapter 4: Programming in the Small, Medium and Large
Chapter 5: Functions
Chapter 6: Objects
Chapter 7: Packages
Chapter 8: In the Large
Part III: Object-Oriented Programming
Chapter 9: Classes and Methods in R
Chapter 10: Functional Object-Oriented Programming
Chapter 11: Encapsulated Object-Oriented Programming
Part IV: Interfaces
Chapter 12: Understanding Interfaces
Chapter 13: The XR Structure for Interfaces
Chapter 14: An Interface to Python
Chapter 15: An Interface to Julia
Chapter 16: Subroutine Interfaces; An Interface to C++