Re: [R] Adding column to dataframe

2010-08-25 Thread nzcoops
To update on this. I ran the same command on a grid of computers with 32gb ram, and it completed in 15 seconds, compared to the ~20 minutes on my desktop. Simply a ram issue as suspected by a few on the list here. Thanks -- View this message in context:

Re: [R] Adding column to dataframe

2010-08-23 Thread Matt Cooper
Provide and 'str' and 'object.size' of the object so that we can see what you are working with. My rule of thumb is that no single object should take more than 25-30% of memory since copies may be made. So the reasons things are taking 20 minutes is you might be paging. It is always good

Re: [R] Adding column to dataframe

2010-08-19 Thread jim holtman
I think you are probably paging on your system. Turn on your performance metrics and look at it. If the object you are processing is all numeric, it would seem to require about 3.5GB of space (50% of available memory). Provide and 'str' and 'object.size' of the object so that we can see what