R

Manchester R user group slides

I gave a short talk on the autodb package to the Manchester R user group a few days ago. The slides are now available here, or from the autodb project page. The talk seemed to go down well, and I got a few questions and conversations afterwards. The Manchester R user group is in a good place, with a reliably good turnout: it’s been managed by Datacove and Better Placed for the last three years, and is in good hands.

autodb is on CRAN

I’m pleased to announce that autodb is now on CRAN, in addition to Github. I haven’t submitted anything to CRAN before, so I’m really pleased. It’s been a bit of a long road: I started writing it nearly three years ago. This was a side project, and I’m not the quickest worker to begin with. Hopefully, the trade-off is that there aren’t many bugs left in what I have written.

R has no consistent table class

The usual case R, in addition to being array-based, can also be table-based: it has a table class in the base language, data.frame. This is great, because a lot of data comes in table form. Here are some simple examples: twocols <- data.frame( a = rep(1:3, 4), b = rep(1:2, 6) ) twocols ## a b ## 1 1 1 ## 2 2 2 ## 3 3 1 ## 4 1 2 ## 5 2 1 ## 6 3 2 ## 7 1 1 ## 8 2 2 ## 9 3 1 ## 10 1 2 ## 11 2 1 ## 12 3 2 onecol <- data.

autodb

Automatic database normalisation for R data frames.