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

January 12, 2012

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

Discount

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:

LULUBOOKUK305

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

Advertisements

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

Leave a Reply

Related posts

  • September 8, 2011

    Data The data are daily returns starting at the beginning of 2007.  There are 477 stocks for which there is full and seemingly reliable data. Estimation The betas are [...]

  • September 5, 2011

    The subtitle is: Adversaries in Art, Science and Philosophy. Executive Summary Genius or madness? I haven't decided. Irreversibility of interpretation The book drives home that once we decide how [...]

  • August 30, 2011

    What does beta look like in the out-of-sample period for the portfolios generated to have beta equal to 1? In the comments Ian Priest wonders if the results in [...]