[R] Reformulated matrices dimensions limitation problem

elw at stderr.org elw at stderr.org
Sat Mar 10 01:04:12 CET 2007



> Have a look at the help page for memory.size and memory.limit. The help 
> says you can use these functions on Windows and another approach with 
> Unix. Once you know the available memory you can calculate the total 
> matrix size that fits in it (knowing that a real number takes 8 bytes). 
> I would recommend using up to 70-80% of the available memory for your 
> matrix.


But then there's the overhead for each R object, which is very 
non-trivial (but not so bad as to be completely depressing...).

--e



More information about the R-help mailing list