Posts Tagged ‘ parsing ’

ThinkStats … in R (including Example 1.2)

March 4, 2012
By

ThinkStats (by Allen B. Downey) is a good book to get you familiar with statistics (and even Python, if you’ve done some scripting in other languages). I thought it would be interesting to present some of the examples & exercises in the book in R. Why? Well, once you’ve gone through the material in a

Read more »

Parsing R code: Freedom of expression is not always a good idea

February 28, 2012
By
Parsing R code: Freedom of expression is not always a good idea

With my growing interest in R it was inevitable that I would end up writing a parser for it. The fact that the language is relatively small (the add-on packages do the serious work) hastened the event because it did not look like much work; famous last words. I knew about R’s design and implementation

Read more »