Re: [R] Unable to allocate arrays of size 2GB in 64 bit Windows 7 R

2010-10-25 Thread Uwe Ligges
Do you use a 64-bit version of R? I suspect you are using a 32-bit 
build. The R-2.12.0 installer comes with binaries for both architectures.


Uwe Ligges

On 25.10.2010 04:25, Bhattacharyya, Siddhartha wrote:

I seem Unable to allocate arrays of size  around 2GB in 64 bit Windows 7
R. There is a lot of main memory available. The memory.limit is set to the
max memory available, and there is more than 10GB of that available when R
returns an 'unable to allocate memory' error.   Is this a limitation of R
even in 64 bit Windows 7?  Or is there a wY to get I've this?

Thanks.

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


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


Re: [R] Unable to allocate arrays of size 2GB in 64 bit Windows 7 R

2010-10-25 Thread Duncan Murdoch

Bhattacharyya, Siddhartha wrote:

I seem Unable to allocate arrays of size  around 2GB in 64 bit Windows 7
R. There is a lot of main memory available. The memory.limit is set to the
max memory available, and there is more than 10GB of that available when R
returns an 'unable to allocate memory' error.   Is this a limitation of R
even in 64 bit Windows 7?  Or is there a wY to get I've this?



There's currently a limit of 2^31-1 in the length of a vector in all 
versions, so that's the most entries you can have in a matrix as well.


The data in each entry is usually more than one byte, so the total size 
of allocation can be much bigger than 2 GB, but the number of entries can't.


Duncan Murdoch

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


[R] Unable to allocate arrays of size 2GB in 64 bit Windows 7 R

2010-10-24 Thread Bhattacharyya, Siddhartha
I seem Unable to allocate arrays of size  around 2GB in 64 bit Windows 7
R. There is a lot of main memory available. The memory.limit is set to the
max memory available, and there is more than 10GB of that available when R
returns an 'unable to allocate memory' error.   Is this a limitation of R
even in 64 bit Windows 7?  Or is there a wY to get I've this?

Thanks.

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