Posts Tagged ‘ Advanced R tips ’

Self Aware Classes

February 11, 2010
By

I thought this up the other night but I'm not sure where I'm going to use it. But I thought that I would through it out there anyway, maybe it will solve all of someone else's problems. I was thinking about classes in R and R is SO NOT object oriented...

Read more »

Expressions in expresssion passed to functions that return functions

October 5, 2009
By

OK in the last two tips I explained how functions can return functions and how to leverage expressions. Now lets get complicated. This is really how my testing code works; expressions embeded in expressions that are passed to functions that return fu...

Read more »

Expressions!

October 5, 2009
By

I never really saw a use for these until I started testing code en mass. I found myself doing lots and lots of copy and paste. I heard it from Steve McConnell in his Code Complete book where he said if you are copying and pasting you are programming ...

Read more »

Functions from functions

October 5, 2009
By

I've been really busy lately working on my dissertation and applying for jobs. But I've found a few really cool things that I'd like to share. These are pretty complex things so lets break it up into a few tips. First Tip: did you know that you can re...

Read more »