[R] rbind-ing list
jiho.han
jiho.han at yahoo.com
Tue Jan 30 16:11:52 CET 2007
thanks for all those who added great comments (and solutions) to my problem!!
thanks-
jh
jiho.han wrote:
>
> hi,
>
> i have a list of data.frame that has same structure. i would like to know
> a efficient way of rbind-ing it.
> right now, i write:
>
>
> n = length(temp) # 'temp' is a list of data.frames
> temp2 = data.frame()
> for (i in 1:n) temp2 = rbind( temp2, temp[[i]])
> return(temp2)
>
>
> but this is not an efficient way since we keeping overwriting temp2. i
> wonder if there's faster way.
>
> thanks
>
--
View this message in context: http://www.nabble.com/rbind-ing-list-tf3140137.html#a8709194
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list