[R] Memory problem?

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jan 31 08:14:02 CET 2008


On Thu, 31 Jan 2008, Eleni Christodoulou wrote:

> Hello R users,
>
> I am trying to run a cox model for the prediction of relapse of 80 cancer
> tumors, taking into account the expression of 17000 genes. The data are
> large and I retrieve an error:
> "Cannot allocate vector of 2.4 Mb". I increase the memory.limit to 4000
> (which is the largest supported by my computer) but I still retrieve the
> error because of other big variables that I have in the workspace. Does
> anyone know how to overcome this problem?

Use a 64-bit version of R.

(The 'minimal information' asked for in the posting guide would have 
helped us give a more information answer, but likely the problem is too 
big for a 32-bit OS.)

>
> Many thanks in advance,
> Eleni
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list