Book and package: Learn R …as you learnt your mother tongue

Book cover
Book cover

Book draft of 2017-05-14 and ‘learnrbook’ package 0.0.2.

My book titled Learn R …as you learnt your mother tongue is gradually approaching completion, but the text is not yet polished. Today’s milestone is that the first version of the companion R package has been accepted for distribution through CRAN.

In the draft version I uploaded today, published as earlier ones through Leanpub, approximately 95% of the book content is included. Today’s version differs from earlier ones in that as now the original datasets and files used in examples are now in package ‘learnrbook’, the example code has been edited to make use of it. The package is since yesterday in CRAN. The updated version of the book also tracks improvements in version 0.2.15 of my package ‘ggpmisc’, which is since today in CRAN.

The PDF of this updated draft of the book is available at for whatever price you would like to pay for it (including for free). However, paying even as little as 1€ for your copy would go a long way towards supporting the expenses of running this web site.

ggpmisc 0.2.15 (CRAN release)

Changes from the previous CRAN release 0.2.14 are:
Add stat_fit_tidy() which makes it possible to add labels or equations with estimated parameter values embedded. To build complex equations familiarity with R’s expressions as described under plotmath will be of help. This statistic supports all the types of models supported by package ‘broom’, which is used internally.

Update documentation.

NOTE: This version of the package is available through CRAN. Documentation website is at