Re: [Rd] aggregate(as.formula("some formula"), data, function) error when called from in a function

2011-01-26 Thread Gabor Grothendieck
On Wed, Jan 26, 2011 at 2:04 PM, Paul Bailey wrote: > I'm having a problem with aggregate.formula when I call it in a function and > the function is converted from a string in the funtion > > I think my problem may also only occur when the left hand side of the formula > is cbind(...) > > Here i

[Rd] aggregate(as.formula("some formula"), data, function) error when called from in a function

2011-01-26 Thread Paul Bailey
I'm having a problem with aggregate.formula when I call it in a function and the function is converted from a string in the funtion I think my problem may also only occur when the left hand side of the formula is cbind(...) Here is example code that generates a dataset and then the error. The