Hi Gang,
It gives a different error, at least:
[1] "-----------------"
[1] "Totally 61 slices in the volume data."
[1] "Starting to analyze data slice-wise. Running progression shown below:"
[1] "-----------------"
Z slice # 1 done: 03/06/14 12:51:49.570
Error in if (KHtest & all(resList$scl > tol)) outData[c(2, 4, 6)] <- outData[c(2, :
missing value where TRUE/FALSE needed
Calls: apply -> FUN
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Execution halted