Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Selected Amazon Reviews of Art of R Programming by Norman Matloff

News R Bookshelf Classic Books Recommended Links Softpanorama Bookshelf Tcl C++ books C++ Debugging
Debugging CRAN package repository R help system R Debugging   Programming style Rstudio R-Studio Keyboard Shortcuts
Software Fashion Conway Law KISS Principle Tips Quotes R history Humor Etc

The Art of R Programming by Norman Matloff

Sitting in Seattle on November 4, 2011 

Excellent guide to the R language 

There are hundreds of R books, but this is the best one to address the core problem of learning to *program* in R. As reviewer Jason notes, R is used by several audiences with varying needs, but anyone who uses R for long must come to terms with learning to program it. This is the book for that.

What Matloff does is to lay out the essentials of the R language (or S, if you prefer) in depth but in a readable fashion, with well-chosen examples that reinforce learning about the language itself (as opposed to focusing on statistics or data analysis).

I'm a long-time (12 years) R user, which is my platform for analytics every day, and I have programmed in a variety of languages from C to Perl. I have long missed the fact that there is nothing for R comparable to Kernighan & Ritchie ("K&R", The C Programming Language) or similar programming classics; finally there is. Matloff is not quite as beautiful and elegant as K&R (and to be fair, is not in their position as the language creator) but this book has similar goals and comes reasonably close.

I think there are two primary audiences for this book: those who are learning R from a computer science or programming background; and statisticians and others who use the programming language and want a thorough exposition. In my case, for instance, despite having written perhaps 100k lines of R code over the years, there remained areas where I was uneasy (e.g., exactly how do lists relate to data frames). Matloff sets it all straight, in friendly, readable fashion. Even in rudimentary chapters, I learned shortcuts and miscellaneous functions that are quite useful. The examples throughout are more "CS-like" than statistical, which is highly advantageous for this topic.

In addition to the tutorial content, it is well-suited as a quick reference. It doesn't aim to be comprehensive from a function point of view (which is almost impossible, and what R Help is for), but it is comprehensive from a programming conceptual point of view.

In short, if you program R, and unless you're a member of R-Core, then I believe you'll enjoy this, will learn something, and will refer back to it repeatedly.


The Art of R Programming: A Tour of Statistical Software Design


$26.15 FREE Shipping on orders over $35. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
































































Go to "The Art of R Programming: A Tour of Statistical Software Design" page




4.4 out of 5 stars































































































































Frequently Bought Together



The Art of R Programming: A Tour of Statistical Software Design + R Cookbook (O'Reilly Cookbooks) + R for Everyone: Advanced Analytics and Graphics (Addison-Wesley Data & Analytics Series)


Price for all three: $77.95





Add all three to Cart



Add all three to Wish List

Show availability and shipping details


Buy the selected items together


This item: The Art of R Programming: A Tour of Statistical Software Design by Norman Matloff Paperback $26.15





R Cookbook (O'Reilly Cookbooks) by Paul Teetor Paperback $26.84




R for Everyone: Advanced Analytics and Graphics (Addison-Wesley Data & Analytics Series) by Jared P. Lander Paperback $24.96












Customers Who Bought This Item Also Bought

Page 1 of 10 Page 1 of 1
This shopping feature will continue to load items. In order to navigate out of this carousel please use your heading shortcut key to navigate to the next or previous heading.




Back




R Cookbook (O'Reilly Cookbooks)
R Cookbook (O'Reilly Cookbooks)
›Paul Teetor

66

Paperback

$26.84
Prime
Get it by Tuesday


R for Everyone: Advanced Analytics and Graphics (Addison-Wesley Data & Analytics Series)
R for Everyone: Advanced Analytics and Graphics…
›Jared P. Lander

62

Paperback

$24.96
Prime
Get it by Tuesday


Advanced R (Chapman & Hall/CRC The R Series)
Advanced R (Chapman & Hall/CRC The R…
›Hadley Wickham

24

Paperback

$56.95
Prime
Get it by Tuesday


R Graphics Cookbook
R Graphics Cookbook
›Winston Chang

54

Paperback

$31.99
Prime
Get it by Tuesday


R in Action: Data Analysis and Graphics with R
R in Action: Data Analysis and Graphics…
›Robert Kabacoff

2

#1 Best Seller in Functional Software…

Paperback

$41.54
Prime
Get it by Tuesday


R: Learn R FAST! - Learn the Basics of the R Programming Language In No Time (R, R Programming, R Course, R Development, R Books) (Volume 1)
R: Learn R FAST! - Learn the Basics of the…
›Acodemy

37

Paperback

$14.99
Prime
Get it by Tuesday


The R Book
The R Book
›Michael J. Crawley

32

Hardcover

$79.61
Prime
Get it by Tuesday


R in Action
R in Action
›Robert Kabacoff

37

Paperback

$33.44
Prime
Get it by Tuesday


Practical Data Science with R
Practical Data Science with R
›Nina Zumel

22

Paperback

$45.49
Prime
Get it by Tuesday


Beginning R: The Statistical Programming Language
Beginning R: The Statistical…
›Mark Gardener

5

Paperback

$24.01
Prime
Get it by Tuesday



Next
















Start reading The Art of R Programming on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.




Hero Quick Promo
Today Only: Up to 80% Off Select American History Books on Kindle
Celebrate Independence Day with up to 80% off select American history books and biographies on Kindle, including “Black Hawk Down” and Pulitzer Prize winners “Devil in the Grove” and “Washington’s Crossing.” Learn more




Product Details

Paperback: 400 pages
Publisher: No Starch Press; 1 edition (October 15, 2011)
Language: English
ISBN-10: 1593273843
ISBN-13: 978-1593273842
Product Dimensions: 7 x 1.2 x 9.2 inches
Shipping Weight: 1.7 pounds (View shipping rates and policies)
Average Customer Review: 4.4 out of 5 stars See all reviews (97 customer reviews)
Amazon Best Sellers Rank: #7,649 in Books (See Top 100 in Books) #3 in Books > Computers & Technology > Software > Mathematical & Statistical
#16 in Books > Textbooks > Science & Mathematics > Mathematics > Statistics
#25 in Books > Science & Math > Mathematics > Applied > Probability & Statistics



Would you like to update product info or give feedback on images?






More About the Author

› Visit Amazon's Norman S. Matloff Page


Norman S. Matloff

Discover books, learn about writers, read author blogs, and more.



Customers viewing this page may be interested in these sponsored links (What's this?)



• Art of R Programming Matloff opens new browser window


-

Revolution R Software & Services The Innovative Leader In Big Data.

www.revolutionanalytics.com/




Ad feedback







Customer Reviews





97

4.4 out of 5 stars




5 star

62%
4 star

21%
3 star

11%
2 star

3%
1 star

3%
See all 97 customer reviews

Share your thoughts with other customers



Write a customer review



Most Helpful Customer Reviews



184 of 187 people found the following review helpful
Excellent guide to the R language
By Sitting in Seattle on November 4, 2011
Format: Paperback Verified Purchase
There are hundreds of R books, but this is the best one to address the core problem of learning to *program* in R. As reviewer Jason notes, R is used by several audiences with varying needs, but anyone who uses R for long must come to terms with learning to program it. This is the book for that.

What Matloff does is to lay out the essentials of the R language (or S, if you prefer) in depth but in a readable fashion, with well-chosen examples that reinforce learning about the language itself (as opposed to focusing on statistics or data analysis).

I'm a long-time (12 years) R user, which is my platform for analytics every day, and I have programmed in a variety of languages from C to Perl. I have long missed the fact that there is nothing for R comparable to Kernighan & Ritchie ("K&R", The C Programming Language) or similar programming classics; finally there is. Matloff is not quite as beautiful and elegant as K&R (and to be fair, is not in their position as the language creator) but this book has similar goals and comes reasonably close.

I think there are two primary audiences for this book: those who are learning R from a computer science or programming background; and statisticians and others who use the programming language and want a thorough exposition. In my case, for instance, despite having written perhaps 100k lines of R code over the years, there remained areas where I was uneasy (e.g., exactly how do lists relate to data frames). Matloff sets it all straight, in friendly, readable fashion. Even in rudimentary chapters, I learned shortcuts and miscellaneous functions that are quite useful. The examples throughout are more "CS-like" than statistical, which is highly advantageous for this topic.

In addition to the tutorial content, it is well-suited as a quick reference. It doesn't aim to be comprehensive from a function point of view (which is almost impossible, and what R Help is for), but it is comprehensive from a programming conceptual point of view.

In short, if you program R, and unless you're a member of R-Core, then I believe you'll enjoy this, will learn something, and will refer back to it repeatedly.
3 Comments Was this review helpful to you?

Yes


No










59 of 61 people found the following review helpful
Valuable addition to R bookshelf
By Dimitri Shvorob on October 30, 2011
Format: Paperback
Jason's juxtaposition of "data analysts" and "serious R programmers" strikes me as a little unfair, but I see what he means. Consider yourself a "serious R programmer" (SRP), and buy this book, if you are interested in the following aspects of R:

Variable scope - Chapter 7
User-defined classes - Ch 9
Debugging - Ch 13
Profiling and performance (mostly, vectorization) - Ch 14
Interfacing with C/C++ and Python - Ch 15
Parallel computation ("pure R" approach using "snow" package, and C++-aided approach using "OpenMP" library) - Ch 16

I have not seen the material of Chapters 15-16 in any other R reference; the other topics have shown up elsewhere - in "R in Nutshell", for example - but get more attention here. The chapters would have been much shorter if written in a "Nutshell" style; however, I do not automatically consider a verbose, user-friendly writing style a negative.

The early chapters introduce R in a way similar to other books - except for (a) eschewing discussion of the language's statistical repertoire, which makes sense given "programming" focus, and (b) showing a greater interest in the "matrix" class - and although they do it quite nicely (this said, let me ask the author to reconsider his "extended examples"), I would not recommend "Art of R Programming" to non-SRPs, and point them to Robert Kabacoff's "R in Action" or (the E-Z version) Paul Teetor's "R Cookbook" instead.

Overall, while the book did not quite click for me - I am a "data analyst" and at present do not have much "need for speed" (cf. C/C++); on the other hand, I would like a firmer grasp on R's OOP, but here, "Art of R Programming" only whets one's appetite - I cannot deny its quality and unique value for budding SRPs. If there was any wavering between four and five stars on my part, the appreciation of how pretty and inexpensive the book is tipped the scales. 

Code Monkey on January 15, 2012

A Programmers Introduction to R
The uniformly good reviews for "The Art Of R Programming" led me to read it, and I'm glad I did. I've used R casually for years as a sort of "secret weapon" to quickly analyze a few millions data points, graph it, and draw useful conclusions, all before some one could load the data into a SQL database. I've long believed that R is a clean, well designed language for data analysis that was missing a good introductory text for programmers. R's type system, lexical structure, run time mechanics, and functional nature make it one of the best designed languages around, but this also seems to be one of the best kept secrets in the software community. Until I read "The Art of R Programming" I'd never come across material on R that introduced R as a programming language. Most of what I saw presented it as a statistical toolbox that you could, almost accidentally, program.

However, be warned that the book is not rigorous, either as an introduction or a reference. It is concise, easy to read, and much is driven by case studies to show you how to do things. But it often left me uneasy as a software engineer. For example, it states that R uses "lazy evaluation" when a more accurate statement would be that it is simply evaluates function arguments lazily. The description of the run time object environment is clunky: evaluation contexts, closures, and recursion are treated separately. It does not entirely explain how symbol look up works for functions (you won't learn why "sum <- 1; sum(1,2,3)" will still evaluate to 6). The discussion on object copy-on-change was so vague that I failed to understand how I could use that information.

Okay, so it's not perfect, and it's definitely no K&R. But it's still way better than any other introduction I've seen before. It may be the best way to get started and then go on to the masses of freely available information about R. I wish this book had been available years ago when I first typed "R" at my shell prompt. It would have saved me a lot of pain!


Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March, 12, 2019