Skip to content

data frame subset too slow

1 message · Duke

#
Sorry for the late response. I was away for vacation and was unable to 
keep on working on the codes.

Anyway, I was unable to provide *str* of that specific data since they 
are all in a big package with lots of inputs/outputs. Quickly gazing 
through the code, I narrowed them down (and made a bad guess) to data 
frame. But it turned out that data frame was not the reason. After 
carefully check through the package, I found out that there is a double 
for loop. I replaced that double for loop and now instead of running ~ 
13hrs, the package now runs ~ 13min for a similar dataset.

Thanks for all your helps,

D.
On 12/30/10 11:40 AM, jim holtman wrote: