How to append rows to an R data frame
Update Not knowing what you are trying to do, I’ll share one more suggestion: Preallocate vectors of the type you want for each column, insert values into those vectors, and then, at the end, create your data.frame. Continuing with Julian’s f3 (a preallocated data.frame) as the fastest option so far, defined as: # pre-allocate space … Read more