You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@willpearse
My diamond.square.step is so close. See lines 77-90 of terrain.R. The error I am getting says:
Error in mat[k:(k + i), j:(j + i)] : subscript out of bounds
But this notation is just telling R to step through the matrix one iteration at a time, am I stopping/starting at the wrong place or am I not as close as I think?
Would an error like this cause my package to fail during installation?
The text was updated successfully, but these errors were encountered:
A subscript is another way of saying your subsetting. Your subsetting is "out of bounds", which Google dictionary defines as "outside the limits of where one is permitted to be.". What do you think is happening?
@willpearse I must be trying to index outside the matrix. The sequences that I am generating on lines 84 and 85 are not the same length as the terrain matrix.
@willpearse
My diamond.square.step is so close. See lines 77-90 of terrain.R. The error I am getting says:
Error in mat[k:(k + i), j:(j + i)] : subscript out of bounds
But this notation is just telling R to step through the matrix one iteration at a time, am I stopping/starting at the wrong place or am I not as close as I think?
Would an error like this cause my package to fail during installation?
The text was updated successfully, but these errors were encountered: