Skip to content
Prev 274106 / 398506 Next

replicate data.frame n times

Hi,


is there a way to replicate a data.frame like you can replicate the entries of a vector (with the repeat-function)?

I want to do this:

x <- data.frame(x, x)
(where x is a data.frame).


but n times.



And it should be as cpu / memory efficient as possible, since n is pretty big in my case.



thanks for any suggestions!