Re: [R] plyr: issue with column names when converting one element list to dataframe

2010-01-08 Thread hadley wickham
Hi Mark, It'll be fixed in the next version of plyr. If you want to fix it yourself, inspect the source of list_to_dataframe and change the first data.frame to as.data.frame. Hadey On Wed, Jan 6, 2010 at 8:53 AM, Mark Heckmann wrote: > Hadley, > > thanks for the quick reply: > >> dput(l) > lis

Re: [R] plyr: issue with column names when converting one element list to dataframe

2010-01-06 Thread Mark Heckmann
Hadley, thanks for the quick reply: > dput(l) list(structure(c(0.182198327359618, 0.473715651135006, 0.29689366786141, 0.0471923536439665), .Dim = c(1L, 4L), .Dimnames = list("f5_9", c("(0.5,1.5]", "(1.5,2.5]", "(2.5,3.5]", "(3.5,4.5]" Mark Am 06.01.2010 um 15:48 schrieb hadley wickha

Re: [R] plyr: issue with column names when converting one element list to dataframe

2010-01-06 Thread hadley wickham
Hi Mark, Could you send a the results of dput(l)? It will make exploration easier. Hadley On Wed, Jan 6, 2010 at 8:07 AM, Mark Heckmann wrote: > > Hi, > > I have an issue concerning plyr. > I have a list l as output from dlply. > >> l > $`1` >     (0.5,1.5] (1.5,2.5] (2.5,3.5]  (3.5,4.5] > f5_

[R] plyr: issue with column names when converting one element list to dataframe

2010-01-06 Thread Mark Heckmann
Hi, I have an issue concerning plyr. I have a list l as output from dlply. > l $`1` (0.5,1.5] (1.5,2.5] (2.5,3.5] (3.5,4.5] f5_9 0.2342569 0.465995 0.2518892 0.04785894 attr(,"split_type") [1] "data.frame" attr(,"split_labels") f15 1 1 When I convert it into a dataframe I get. > l