On Sun, Oct 31, 2010 at 12:11 PM, baptiste auguie
<[email protected]> wrote:
> Hi,
>
> I think you want ?unlist
>
> d = data.frame(x=1, y=2, z=3)
> v = unlist(d)
> is(v)
> [1] "numeric" "vector"
>
Here are a few other possibilities too:
drop(as.matrix(d))
do.call("c", d)
sapply(d, identity)
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.