> If f is long then you can get some savings like this: > > do.call("f", mtcars) # note: used "f" rather than f >
Unfortunately, my f is a character vector containing the function I want to call. Thanks for the idea though. Hadley ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html