Re: [R] allocMatrix limits

2008-08-01 Thread Martin Maechler
> "VK" == Vadim Kutsyy <[EMAIL PROTECTED]> > on Fri, 01 Aug 2008 07:35:01 -0700 writes: VK> Martin Maechler wrote: >> VK> The problem is in array.c, where allocMatrix check for VK> "if ((double)nrow * (double)ncol > INT_MAX)". But why VK> itn is used and not long

Re: [R] allocMatrix limits

2008-08-01 Thread Vadim Kutsyy
Martin Maechler wrote: VK> The problem is in array.c, where allocMatrix check for VK> "if ((double)nrow * (double)ncol > INT_MAX)". But why VK> itn is used and not long int for indexing? (max int is VK> 2147483647, max long int is 9223372036854775807) Well, Brian gave you all i

Re: [R] allocMatrix limits

2008-08-01 Thread Martin Maechler
> "VK" == Vadim Kutsyy <[EMAIL PROTECTED]> > on Thu, 31 Jul 2008 15:43:56 -0700 writes: >>> I am getting an error "allocMatrix: too many elements >>> specified" when I am trying to create large matrix or >>> vector (about 1 billion elements). >>> >>> How can I find

Re: [R] allocMatrix limits

2008-07-31 Thread Vadim Kutsyy
I am getting an error "allocMatrix: too many elements specified" when I am trying to create large matrix or vector (about 1 billion elements). How can I find out limits on allocMatrix? Can I increase them? ?"Memory-limits", and you cannot increase them unless you have a system which has lar

Re: [R] allocMatrix limits

2008-07-31 Thread Prof Brian Ripley
On Thu, 31 Jul 2008, Vadim Kutsyy wrote: I am getting an error "allocMatrix: too many elements specified" when I am trying to create large matrix or vector (about 1 billion elements). How can I find out limits on allocMatrix? Can I increase them? ?"Memory-limits", and you cannot increase the

[R] allocMatrix limits

2008-07-31 Thread Vadim Kutsyy
I am getting an error "allocMatrix: too many elements specified" when I am trying to create large matrix or vector (about 1 billion elements). How can I find out limits on allocMatrix? Can I increase them? Thanks, Vadim. PS: I am running R on SUSE10 on ___