[R] rbind-ing list
jholtman at gmail.com
Tue Jan 30 05:05:27 CET 2007
On 1/29/07, jiho.han <jiho.han at yahoo.com> wrote:
> 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]])
> but this is not an efficient way since we keeping overwriting temp2. i
> wonder if there's faster way.
> View this message in context: http://www.nabble.com/rbind-ing-list-tf3140137.html#a8703373
> Sent from the R help mailing list archive at Nabble.com.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
+1 513 646 9390
What is the problem you are trying to solve?
More information about the R-help