[R] too large dimension problem

Moohwan Kim kmhlmj2 at gmail.com
Sun Dec 13 02:31:59 CET 2009


Dear R family

When I run the command below, the error message came up. It seems like
the problem is about computer capacity.
It would be appreciated if anyone could give me a solution.

###########
> N <- 415884
> tau <- diag(1, N)[c(N, 1:(N - 1)),]
Error in array(0, c(n, p)) : 'dim' specifies too large an array

Best
Moohwan




More information about the R-help mailing list