Re: [R] SPACECAP error "subscript out of bounds"

2012-10-27 Thread jim holtman
Now is the time to learn how to debug your scripts. First order of business is to add: options(error = utils::recover) to your script. Then type in: ?recover ?browser and carefully read the documentation. Then when the error occurs, you will be in the "browser" and can examine that values of

Re: [R] SPACECAP error "subscript out of bounds"

2012-10-26 Thread jmosley
CENTERS.csv Hello all, I'm trying to run SPACECAP. A couple of days ago I ran it with a centers file with 300 GPS points, now I'm trying to run it with 2250, but I get this error: Error in NN[i, 1:length(od)] <- od : subscript out of bou