When I melt a 60k x 60k matrix (i.e. only numerical values) with R using melt funtion of the reshape2 package I get the following error:
Error in if (n > 0) c(NA_integer_, -n) else integer() : missing value
where TRUE/FALSE needed Calls: melt ... <Anonymous> -> melt.matrix ->
expand.grid -> .set_row_names In addition: Waing messages: 1: In rep.fac * nx
: NAs produced by integer overflow 2: In .set_row_names(as.integer(prod(d)))
: NAs introduced by coercion to integer range
Execution halted
The error doesn't occur for smaller (e.g. 20k x 20k) matrices, so I assume that it has to do with the matrix size. Is there any otherway to melt a matrix in fast way?
