Displaying 1 result from an estimated 1 matches for "rowofmatcheddata".
2012 Dec 15
3
How to speed up the for loop by releasing memeory
Dear list;
How can I speed up the run of following code (illustrative)
#========================================================================
con<-vector("numeric")
for (i in 1:limit)
{
if(matched data for the ith item found) {
if(i==1) {con<-RowOfMatchedData } else
{con<-rbind(con,matchedData)}
}
}
#========================================================================
each RowOfMatchedData contains 105 variables, when "i" runs over 10^7
and the data container "con" get l...