[R] Failure to aggregate
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Sep 9 14:53:40 CEST 2010
On Wed, Sep 8, 2010 at 4:48 AM, Dimitri Shvorob
<dimitri.shvorob at gmail.com> wrote:
>
> I was able to aggregate (with sqldf, at least), after saving and re-loading
> the dataframe. My first guess was that h (and/or price?) now being a factor
> - stringsAsFactors = T by default - made the difference, and I tried to
> convert x$h to factor, but received an error.
Please provide enough of x to reproduce your problem. e.g.
x <- head(x)
dput(x)
# repeat code and ensure it still shows problem
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list