Robert, If you downloaded the binary from CRAN, it uses a 32-bit address space.
Here are some links that may help with getting a 64-bit build: http://article.gmane.org/gmane.comp.lang.r.mac/2226 http://r.research.att.com/ Also, there is a list for MACs https://stat.ethz.ch/mailman/listinfo/r-sig-mac HTH, Chuck On Thu, 10 Jan 2008, Robert Terwilliger wrote: > Dear R Experts, > > I am using R.app (the Mac OS X binary) for neuroimage analysis, so I > am loading in some large image files. I get the following error in the > middle of my script: > >> source("3dLME.R") > Read 1 record > Read 1 record > Read 1 record > Read 1 record > Read 1 record > Error: cannot allocate vector of size 3.1 Gb > R(2081,0xa000d000) malloc: *** vm_allocate(size=3321675776) failed > (error code=3) > R(2081,0xa000d000) malloc: *** error: can't allocate region > R(2081,0xa000d000) malloc: *** set a breakpoint in szone_error to debug > R(2081,0xa000d000) malloc: *** vm_allocate(size=3321675776) failed > (error code=3) > R(2081,0xa000d000) malloc: *** error: can't allocate region > R(2081,0xa000d000) malloc: *** set a breakpoint in szone_error to debug > > My Mac is 64-bit, however, I'm wondering if R is compiled as a 32-bit app? > > Many thanks, > > Robert Terwilliger > > ______________________________________________ > 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. > Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901 ______________________________________________ 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.