Fearsome Engines, Part 1
Back in June I discovered pqR, Radford Neal’s fork of R designed to improve performance. Then in July, I heard about Tibco’s TERR, a C++ rewrite of the R engine suitable for the enterprise. At this...
View ArticleO’Reilly R ebooks half price – today only
Including my hot-off-the-press Learning R. Buy two copies! http://oreil.ly/1eRrhP1 Tagged: book, deal, oreilly, r, special offer
View ArticleWebcast on Writing Great R Code
While I’m promoting things, you might also want to know that I’m doing a webcast on how to write great R code next Wednesday. It’s at 6pm British Summer Time or 10am Pacific Daylight Time. the big...
View ArticleFearsome Engines Part 2: Innovations and new features
There are lots of R engines emerging! I’ve interviewed members of each of the teams involved in these projects. In part 1 of this series, we covered the motivation of each project. This part looks at...
View ArticleFearsome Engines Part 3: Which one should you use?
There are lots of R engines emerging! I’ve interviewed members of each of the teams involved in these projects. In part 1 of this series, we covered the motivation of each project. Part 2 looked at the...
View ArticleIntroducing the pathological package for manipulating paths, files and...
I was recently hunting for a function that will strip the extension from a file – changing foo.png to foo, and so forth. I was knitting a report, and wanted to replace the file extension of the input...
View ArticleAutomatically convert RUnit tests to testthat tests
There’s a new version of my assertive package, for sanity-checking code, on its way to CRAN. The release has been delayed a while, since my previous attempt at an upload met with an error that was only...
View ArticleFinally, a use for rapply
In the apply family of functions, rapply is the unloved ginger stepchild. While lapply, sapply and vapply make regular appearances in my code, and apply and tapply have occasional cameo appearances, in...
View ArticleRegular expressions for everyone else
Regular expressions are an amazing tool for working with character data, but they are also painful to read and write. Even after years of working with them, I struggle to remember the syntax for...
View ArticleImproving base-R examples
Earlier today I saw the hundred bazillionth question about how to use the paste function. My initial response was “take a look at example(paste) to see how it works”. Then I looked at example(paste),...
View ArticleUpdate on improving examples in base-R
Last month I was ranting about the state of some of the examples in base-R, particularly the paste function. Martin Maechler has now kindly taken my suggested examples and added them into R. Hopefully...
View ArticleHow do you get things into base-R?
A couple of months ago I spotted that the examples for the paste function weren’t very good, and actually, there were quite a few functions that new users of R are likely to encounter, that weren’t...
View ArticleMany package updates on CRAN
Over the last week or two I’ve been pushing all my packages to CRAN. pathological (for working with file paths), runittotestthat (for converting RUnit tests to testthat tests), and rebus (formerly...
View ArticleThoughts on R’s Terrible, Horrible, No Good, Very Bad Documentation
A couple of days ago Pete Werner had a rant about the state of R’s documentation. A lot of it was misguided, but it had some legitimate complaints, and the fact that people can perceive R’s...
View ArticleThe Workflow of Infinite Shame, and other stories from the R Summit
At day one of the R Summit at Copenhagen Business School there was a lot of talk about the performance of R, and alternate R interpreters. Luke Tierney of the University of Iowa, the author of the...
View ArticleEveryone loves R markdown and Github; stories from the R Summit, day two
More excellent talks today! Andrie de Vries of Microsoft kicked off today’s talks with a demo of checkpoint. This is his package for assisting reproducibility by letting you install packages from a...
View ArticleHow I made every tech company that I may ever want to work for in the future...
It turns out that when people tell you things, you should listen. Like when Joe Rickert of Microsoft says “this is not news, please don’t repeat what I’m about to say”, you should maybe take note and...
View ArticleFrom cats to zombies, Wednesday at useR2015
The morning opened with someone who I was too bleary eyed to work out who it was. Possibly the dean of the University of Aalborg. Anyway, he said that this is the largest ever useR conference, and the...
View ArticleThe state of assertions in R
“Assertion” is computer-science jargon for a run-time check on your code. In R , this typically means function argument checks (“did they pass a numeric vector rather than a character vector into your...
View ArticleNew version of assertive and answers to tutorial exercises
I gave a tutorial at useR on testing R code, which turned out to be a great way of getting feedback on my code! Based on the suggestions by attendees, I’ve made a big update to the package, which is...
View Article