[R] too large dimension problem

David Winsemius dwinsemius at comcast.net
Sun Dec 13 05:35:48 CET 2009


On Dec 12, 2009, at 8:31 PM, Moohwan Kim wrote:

> 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.

You would want to just store such an object but also to manipulated to  
the answer must be: buy a computer with 500GB of RAM.

>
> ###########
>> 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

-- 
David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list