Skip to content
Prev 19209 / 63424 Next

Minumum memory requirements to run R.

Kjetil Brinchmann Halvorsen wrote:
May I add another note to this - I recently upgraded to 64-bits (AMD 
opteron) and noticed the memory foot print of R has shot up. Just 
starting R takes up 90+MB virtual. There are correponding increases with 
Python and Perl as well; I suspect R suffers a bit on 64-bit
platform due to extensive use of pointers internally. The fundamental
unit in R, SEXP, is 6 pointers + 1 int, (and another
pointer for itself). So I would probably say 64MB is questionable on 
64-bit, but then probably nobody is stupid enough to do that...

For those who want to investigate the equivalent in Perl, the equivalent 
perl headers corresponding to "R/include/Rinternals.h" is located at
the "-I" flags of the output of:

perl -MExtUtils::Embed -e ccopts

(no idea where python stores its stuff...)

Hin-Tak Leung