Hello, Im working on a 50933 point count bird abundance dataset. I've succeeded in calculating a distance matrix for this entire set, but I don't have sufficient memory to convert this to a matrix, as below... abun.dist <- dist(abun.mat[1:50993,1:235) test <- rowMeans(as.matrix(abun.dist)) Error in matrix(0, size, size) : too many elements specified
ive been able to run a hclust() clustering procedure, due to the fact that hclust() makes a call to fortran code, but id like to be able to generate a calinski index for each of the clusters to assess the validity. Unfortunately, all the validation routines I have found are all native R code, and usually call as.matrix, resulting in the same error i receive above. What I'd like to figure out is how to just go through, one point at a time, and calculate the values i need. But I've been unable to come up with code to call the correct positions in the dist vector, can anyone suggest some code that might do this? Thanks... ...leif -- -- First they ignore you, then they laugh at you, then they fight you, then you win - Mohandas Gandhi [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.