Skip to content
Back to formatted view

Raw Message

Message-ID: <9DFEE68C-88FD-44A1-BC0A-E692D3D29112@googlemail.com>
Date: 2011-10-11T19:55:29Z
From: Martin Batholdy
Subject: 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!