search for: valstochange

Displaying 1 result from an estimated 1 matches for "valstochange".

2012 Jul 22
2
Reading many large files causes R to crash - Possible Bug in R 2.15.1 64-bit Ubuntu
...red bucket size dat.i <- to.period(dat.i, period=per, k=subper, name=NULL) # Always use templated index, otherwise merge fails with other symbols index(dat.i) <- index(to.period(templateTimes, period=per, k=subper)) # If there was missing data at open, set close to NA valsToChange <- which(dat.i[,"Open"] == -1) if (length(valsToChange) != 0) { dat.i[valsToChange, "Close"] <- NA } if(i == 1) { DAT = fun(dat.i) } else { DAT = merge(DAT,fun(dat.i)) } setTxtProgressBar(pb, i) } close(pb) col...