On Dec 12, 2009, at 11:35 PM, David Winsemius wrote:
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 __________ store such an object, but also to
---------------- the answer
^not just to^
^manipulate it, so^
must be: buy a computer with 500GB of RAM.
Besides the errors in English syntax, for which I have no excuses, I
also forgot to mention that there are SparseMatrix classes that are
part of the recommended Matrix package. They may offer a solution in
more limited memory, depending on the application you have in mind.
###########
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
______________________________________________
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.