Book: Learn R …as you learnt your mother tongue

Book cover
Book cover

Draft of 2017-03-26

My book titled Learn R …as you learnt your mother tongue is nearly complete, but the text is not yet polished.

In the fifth draft version, published through Leanpub, approximately 95% of the book content is included.

The PDF of this updated draft of the book is available at http://leanpub.com/learnr 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.

Status as of 2017-03-26. Except for the chapter on data manipulation, all chapters are close to their final form.

Draft of 2017-04-08

Two updates released to Leanpub on 4 April and 8 April, respectively. Chapter on data manipulation is now complete but text is still is rather rough.

Draft of 2017-04-14

More updates to file at Leanpub. Indexing of functions is mostly done. Polishing of text and code examples has started. A few additional code examples added. R package containing original data used in examples in the book is nearly ready for first release.

 

Book: Learn R …as you learnt your mother tongue

Book cover
Book cover

Draft 004

I have pre-published my notes on R as a future book at Leanpub titled Learn R …as you learnt your mother tongue.

In the fourth draft version, published through Leanpub, approximately 85% of the book contents are included.

The PDF of this updated draft of the book is available at http://leanpub.com/learnr for whatever price you would like to pay for it (including for free).

Status as of 2017-02-09. Wrote section on ggplot2 themes, and on using system and Google fonts in ggpplots with the help of package ‘showtext’. Expanded section on ‘ggplot2’’s annotation , and revised some sections in the “R scripts and Programming” chapter. Started writing the data chapter. Wrote draft on writing and reading text files. Several other smaller edits to text and a few new examples.

Draft [2017-02-15]

Completed first part of data chapter including importing data from files in different formats and on reading files or web pages from the internet.

Book: Learn R …as you learnt your mother tongue

Book cover
Book cover

Draft 003

I have pre-published my notes on R as a future book at Leanpub titled Learn R …as you learnt your mother tongue.

In the third draft version, published through Leanpub, approximately 85% of the book contents are included.

The PDF of this updated draft of the book is available since this morning at http://leanpub.com/learnr for whatever price you would like to pay for it (including for free).

Status as of 2017-01-17: Added “playground” exercises to the chapter describing ‘ggplot2’, and converted some of the examples earlier part of the main text into these playground items. Added icons to help readers quickly distinguish playground sections, information sections, warnings about things one needs to be specially aware of and boxes with more advanced content. Added to the sections scales and examples in the ‘ggplot2’ chapter details about the use of colors in R and ‘ggplot2’ 2. Removed some redundant examples, and updated the section on plotmath . Added terms to the alphabetical index. Increased line-spacing to avoid uneven spacing with inline code bits.

New: ooacquire 0.1.1

This is the first release of package ‘ooacquire’ . This package allows the acquisition of spectral data from spectrometers from Ocean Optics connected through the OmniDriver run-time, which is available at no cost from Ocean Optics. The current version implements several corrections and measuring protocols unavailable elsewhere in a single modular framework. Some of these cannot be used off-the-shelf as they require the characterization and calibration of each individual spectrometer, to obtain usable values for constants. However, once these constants are available they can be passed as data arguments without need to modify the package itself. Functions are provided for spectral irradiance, spectral transmittance and spectral reflectance measurements. As transmittance and reflectance measurements are normally done relative to reference objects the calibration requirements are less involved than for  spectral irradiance.Continue reading