I'm having difficulty increasing the memory R can access above 2Gb and wasn't able to resolve this from the R Windows FAQ. For reference, I'm running Windows XP, 32bit, Service Pack 2 on a machine with 4GB RAM.

Following the FAQ, I set the --max-mem-size flag to 2800Mb. However, when I start R, I get the error: "WARNING --max-mem-size=2800M: too large and taken as 2047M." 

The R Windows FAQ says Rgui.exe supports 3Gb per process under "suitably enabled versions of 32-bit windows." So, the above should be fine if Windows is "suitably enabled." The FAQ also says how to enable Windows this way, and it links to a Microsoft page about setting Windows's /3GB switch. From what I read, however, this switch is already active on Windows XP Service Pack 2 (what I'm running) -- so Windows should already be "enabled" for running R at above 2Gb. (In fact adding the /3GB switch throws an error for me).

Could anyone offer a suggestion for getting R to use more than 2GB of memory?

Thanks very much for any ideas,
Dan





      
	[[alternative HTML version deleted]]


