Physical books of “The R Inferno” and “S Poetry”

[This article was first published on Portfolio Probe » R language, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Hardcopy versions of both The R Inferno and S Poetry are now available for sale.

Physical economy

Buy The R Inferno (the version dated 2011 April 30)


Buy S Poetry


The publisher, Lulu, has a coupon for a 25% discount off purchases (up to a maximum of $50) that is good until the end of January (US west coast time).  The code is:


One more restriction is that purchases need to be in US dollars, euros or GB pounds.  I’m reasonably sure that it applies to books other than mine, but that isn’t entirely clear.

Real economy

The freely available pdf versions are still where they have always been (and there is every intention that they will remain there):

The R Inferno for free

S Poetry for free


The R Inferno

Solve your R problems

S Poetry

S Poetry is from last century, and — in my opinion — is showing its age.  However, at least a few people still seem to like it.  So what do I know?

It was written with S-PLUS.  R was at most a toddler at the time.  Much of the code runs in R as intended.

Probably the best thing in it (both now and when first written) is the glossary.  Pretty much all of the words translate from S to R exactly.

Another thing that is still (surprisingly) useful is the chapter on higher dimensional arrays.  There hasn’t been much written about that for R as far as I know.  Correct me if I’m wrong.

Most of the code is pretty much just toys.  The genopt function, which is a simple but effective genetic algorithm, is also a toy — but  a useful toy.  The code to source it into R is genopt.R.

Subscribe to the Portfolio Probe blog by Email

To leave a comment for the author, please follow the link and comment on their blog: Portfolio Probe » R language. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)