Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

No that is not a typo in the title. In my programming a came across a solution that I thought was pretty cool. I have a function that basically takes two objects and passes the elements of the objects to another function as arguments. This is a pretty simple thing to do but can be painful to type everything out
 f<-function(obj1,obj2){ g(obj1$a,obj1$b,obj1$c,obj2$x,obj2\$y,obj2%z) }