Re: [R] Does SQL group by have a heavy duty equivalent in R

From: hadley wickham <>
Date: Mon 01 Jan 2007 - 00:33:13 GMT

> I converted the whole data frame to character by using
> as.matrix

You shouldn't need to do that.

> And then using a posting that explained how to get the naming conventions
> back (which had been lost when converting to matrix)
> Anything that I did not list with the id's it insisted in including them
> with the measured variables. In other words it would not let me drop.
> despite
> melted<-melt(BigDF, id=c("SAMPLE_ID","ASSAY_ID"),
> measured=c("GENOTYPE_ID","DESCRIPTION"))

That should be measure=c(...)

Hadley mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon Jan 01 11:36:56 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 01 Jan 2007 - 01:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.