I have a huge matrix with nrow=144 and ncol=156267 containing numbers and I would like to compute the correlation between all the columns. This can be done using the bigcor
function described here: https://www.r-bloggers.com/bigcor-large-correlation-matrices-in-r/.
After making the bigcor
function I ran:
bigcor(Mbig2, nblocks = 1611, verbose = TRUE)
This leads to the following errors:
Error in if (length < 0 || length > .Machine$integer.max) stop("length must be between 1 and .Machine$integer.max") : missing value where TRUE/FALSE needed In addition: Warning message: In ff(vmode = "single", dim = c(NCOL, NCOL)) :
My questions are: 1) Is this even feasible? Is there a way of escaping the error?