Author Archives: CL

Winning from losing

By following twitter’s #rstats hashtag (rss feed), I recently came across a very interesting R-related blog: datanalytics.com. The first post I read from it was about setting up an on-line reading group to go through the excellent “The Elements of … Continue reading

Posted in Uncategorized | Tagged , , , | 4 Comments

A couple of nerdy troll quotes

Troll quotes amuse me and I decided to do a couple of those on a whim. Not sure if they worked. In any case, here they are. If you have other ideas, let me know!

Posted in Uncategorized | Tagged , , , | 3 Comments

The mysterious case of the misbehaving writeLines() (or: a cat saves the day)

Dear readers and R experts, I submit to you a mysterious R quirk which has been baffling me for the best part of a week. I found a work-around but I’d love it if someone could explain this strangest of … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Anarchy Golf! And that’s your Sunday gone.

I like to follow good practice when I program. I want my code to be readable, properly indented, modular and re-usable. And I want my variables to have descriptive names. There’s nothing that I hate moderately dislike more than arbitrary … Continue reading

Posted in Uncategorized | Tagged , , , | 8 Comments

Customised terminals on Ubuntu

In order to quickly differentiate between the different machines I’m logged in, I use to set the corresponding terminals in different colours. I decided to go one step further and set each machine with its own wallpaper. Two of the … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Customised terminals on Ubuntu

plyr, ggplot2 and triathlon results, part II

I ended my previous post by mentioning how one could imagine other ways of looking at the triathlon data with plyr and ggplot2. I couldn’t help but carry on playing with it so here are more stats and graphs from … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

An exercise in plyr and ggplot2 using triathlon results

I ran my last triathlon for this year a couple of weeks ago, in the beautiful town of Stratford-upon-Avon. The results were online the day after so I decided to have a look at my fellow competitors’ times, which gave … Continue reading

Posted in Uncategorized | Tagged , , , , , | 3 Comments

A first go at ‘manipulate’ in RStudio

Something I’m missing from R (especially coming from Mathematica) is the ability to quickly build interactive graphs, which I find very useful for getting a good intuition of the impact of parameters on a mathematical function. Richie Cotton’s post about … Continue reading

Posted in Uncategorized | Tagged , , , , | 4 Comments

Match Point

The solution of the latest Futility Closet puzzle left me a bit unsatisfied. I understand that the blog usually doesn’t use formulae but in this case, I found the explanation given uncharacteristically hand-wavy. The problem itself is not difficult and … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Match Point

Darwin’s diagram as a wallpaper

I’ve always been fascinated by this diagram in one of Darwin’s notebook. Everything is there: the tree of life, with its ever-expanding branches from one single origin and the personal humble note from the scientist: ‘I think’. I also like … Continue reading

Posted in Uncategorized | Tagged , , , , , | 2 Comments