Re: [R] reshape, direction=long: "multiple row names not allowed"

2009-01-14 Thread Gustaf Rydevik
On Wed, Jan 14, 2009 at 3:07 PM, hadley wickham wrote: > On Wed, Jan 14, 2009 at 5:51 AM, Gustaf Rydevik > wrote: >> Hi all, >> >> for some reason I always get stuck spending hours when trying to use >> reshape or the Reshape package. Heaven knows why. >> My latest frustration (in 2.7.1, so ignor

Re: [R] reshape, direction=long: "multiple row names not allowed"

2009-01-14 Thread hadley wickham
On Wed, Jan 14, 2009 at 5:51 AM, Gustaf Rydevik wrote: > Hi all, > > for some reason I always get stuck spending hours when trying to use > reshape or the Reshape package. Heaven knows why. > My latest frustration (in 2.7.1, so ignore if this has been fixed): > > test<-data.frame(matrix(rnorm(42*4

[R] reshape, direction=long: "multiple row names not allowed"

2009-01-14 Thread Gustaf Rydevik
Hi all, for some reason I always get stuck spending hours when trying to use reshape or the Reshape package. Heaven knows why. My latest frustration (in 2.7.1, so ignore if this has been fixed): test<-data.frame(matrix(rnorm(42*4),ncol=4),rep(1:21,2),rep(c("a","b"),each=21)) reshape(test,varying=