5.2 won't go into 4 but there may be more problems.

32-bit or 64 bit operating system?

RAM is cheap but will your motherboard support more than 4 GB?
And don't forget there are other processes that need to run while you are using R.

Clint Bowman                    INTERNET:       cl...@ecy.wa.gov
Air Quality Modeler             INTERNET:       cl...@math.utah.edu
Department of Ecology           VOICE:          (360) 407-6815
PO Box 47600                    FAX:            (360) 407-7534
Olympia, WA 98504-7600

        USPS:           PO Box 47600, Olympia, WA 98504-7600
        Parcels:        300 Desmond Drive, Lacey, WA 98503-1274

On Thu, 20 Mar 2014, eliza botto wrote:

Dear R family,
I am trying to read a real large dataset in R (~ 2Gb). Its in binary format. 
When i tried to read it by using following command
readBin("DAT.dat.nc", numeric(), n=9e8, size=4, signed=TRUE, endian='little')
I got the following error
Error: cannot allocate vector of size 5.2 Gb
I have a Ram of 4Gb. I even tried to allocate more space to it by 
"memory.limit(size=9000000000000)" but to no use.
What do i do? Buy a new ram or act smart?
Thankyou very much in advance
Eliza
        [[alternative HTML version deleted]]

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

Reply via email to