Re: [R] Allocation of memory to a data frame

2011-04-20 Thread Uwe Ligges
On 20.04.2011 09:46, santosh wrote: Hello gRoup, A while back I was advised that overallocating an object and filling it up is better than rbind. I am trying to optimize some code. I have the following object (empty which I know in advance). Is there an easy to create an empty data frame with

[R] Allocation of memory to a data frame

2011-04-20 Thread santosh
Hello gRoup, A while back I was advised that overallocating an object and filling it up is better than rbind. I am trying to optimize some code. I have the following object (empty which I know in advance). Is there an easy to create an empty data frame with 100,000 empty rows based on the structu