Lambda.r 1.1.0 released
This is a quick post to announce lambda.r version 1.1.0 is released and available on CRAN.1 This release has a handful of important new features and bug fixes: [new] Type variables in type constraints...
View ArticleThe equivalence of the ellipsis argument and an infinite set of closures
This post is about a practical application of a topic I discuss in my book. In my book, I prove mathematically that the ellipsis in a function signature is equivalent to passing a closure with the same...
View ArticleTypes in lambda.r versus classes in S4
Here’s a quick example of the power of lambda.r and how it simplifies the programming model. On the r-devel mailing list, someone gave an example of extending a class via S4. It looks like this....
View ArticleLambda.r 1.1.2 released to CRAN
This was mostly a bug scrub to improve the stability and robustness of the package. As always, the package is on CRAN. At this point I consider this package stable and appropriate for production use....
View ArticleChurch numerals in R (or how to prove the existence of natural numbers using...
One area of math that I’ve always been enamored with is the proof of numbers. The simplicity of the starting assumptions exudes a certain elegance. More startling is how much structure can be created...
View ArticlePreview of my book – Modeling data with functional programming in R
As some of you know, I’ve been writing a book (to be published by CRC Press/Chapman & Hall and released in late 2014) for the past year and a half. It’s one of those books that spans multiple...
View ArticleBook example – iterative function systems for generating fractals
A number of people suggested that my book, Modeling Data With Functional Programming In R, be more upfront with examples since the benefits of functional programming may not be immediately obvious to...
View ArticleLambda.r at FP Days 2013 in Cambridge, UK
After a bit of a hiatus in public speaking, I will be presenting Functional Programming In The Computational Sciences With Lambda.r at this year’s FP Days conference in Cambridge. This will be my first...
View ArticleHow to use vectorization to streamline simulations
While grading some homework it became apparent that many of the idioms of R are not widely known and aren’t particularly intuitive to newcomers. Two key features of R (and why I like the language so...
View ArticleModeling data with functional programming in R – Vector mechanics
I’m pleased to announce the completion of the second chapter of my book, Modeling data with functional programming in R. This chapter discusses vector mechanics in R, exploring how to model...
View ArticleInfinite generators in R
This is first in a series of posts about creating simulations in R. As a foundational discussion, I first look at generators and how to create them in R. Note: If you are following along, all the...
View Article
More Pages to Explore .....