Why “Rolling Your Rs” ? Have you ever attempted to speak Spanish or Portuguese and lamented the fact that you can’t roll your Rs easily (if at all) ? People will tell you how to do it. There are even YouTube videos on it but you just have to imitate it and fumble your way into it. Sort of like “fake it till you make it”. That’s the way I felt when learning R. I’m still learning that way and it will work for you too…
So this blog is about the R programming language. I like to learn things and pass them on in a way that I hope illustrates the power of the language. One of the great things about R is that there are many ways to do something. And one of the most frustrating things about R is that there are many ways to do something. Sounds like a contradiction ? Not really. I mean “frustrating” in the sense that just as you think you have a good approach to solve a problem using R, you then see another solution, (maybe in a blog, research paper, or a book), that looks nothing like yours, has fewer lines of code, and probably even runs faster. Don’t despair. It happens to me all the time and I’m supposed to know what I’m talking about.
It is for this reason that I take the approach of “showing” examples that I think are generally useful. Imitate them and use to your own ends. There are lots of resources on the basics of the R language so it would be redundant for me to go over that material here. At least I think so. Anyway, I hope you enjoy what you read here and I’m open to writing on specific topics by request. I might not always have the time but I’ll try.