Re: [R] 380x380 dataframe to list

2010-06-04 Thread Bill.Venables
Or.. unlist(data) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Nick Matzke Sent: Saturday, 5 June 2010 11:17 AM To: r-help@r-project.org Subject: Re: [R] 380x380 dataframe to list That's the answer, thanks!! Nick

Re: [R] 380x380 dataframe to list

2010-06-04 Thread Nick Matzke
That's the answer, thanks!! Nick Peter Langfelder wrote: c(as.matrix(data)) will not do it? Peter On Fri, Jun 4, 2010 at 5:47 PM, Nick Matzke wrote: Hi, This can't be hard, but I can't find the solution. I have a 380x380 data frame of numbers. I would like to turn it into a single column

Re: [R] 380x380 dataframe to list

2010-06-04 Thread Peter Langfelder
c(as.matrix(data)) will not do it? Peter On Fri, Jun 4, 2010 at 5:47 PM, Nick Matzke wrote: > Hi, > > This can't be hard, but I can't find the solution.  I have a 380x380 data > frame of numbers.  I would like to turn it into a single column so I can do > e.g. hist and mean on it without writing

Re: [R] 380x380 dataframe to list

2010-06-04 Thread Jorge Ivan Velez
Hi Nick, Try unlist(yourdataframe). HTH, Jorge On Fri, Jun 4, 2010 at 8:47 PM, Nick Matzke <> wrote: > Hi, > > This can't be hard, but I can't find the solution. I have a 380x380 data > frame of numbers. I would like to turn it into a single column so I can do > e.g. hist and mean on it witho

[R] 380x380 dataframe to list

2010-06-04 Thread Nick Matzke
Hi, This can't be hard, but I can't find the solution. I have a 380x380 data frame of numbers. I would like to turn it into a single column so I can do e.g. hist and mean on it without writing my own function. There must be a simple function for this, but I'm stumped -- reshape, dim, etc.