[R] R memory

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue Oct 15 18:57:08 CEST 2002


On Tue, 15 Oct 2002, Luis Miguel Almeida da Silva wrote:

> Hello
>
> I was doing PCA (principal component analysis) with a DNA
> expression matrix (7000 rows/38 columns; from golubEsets) but I
> had the following problem
>
> "Error:cannot allocate vector of size 397051 Kb
> In addition: Warning message:
> Reached total allocation of 119Mb: see help(memory.size)"
>
> I've already done some filtering (reduced to 3051 rows) but the
> problem remains, only the size of the vector to allocate is
> smaller.
>
> Can I allocate more memory? How? Probably the problem is also
> from the machine itself, which is a Pentium III 700 Mhz 128Mb
> RAM. Could you help me?

See the rw-FAQ.

What method are you using, though?  prcomp or princomp?  princomp
works on the covariance matrix that is only 38x38, and this seems
perfectly feasible.

>
> Thanks
>
> Luis Silva
>
> --------------------------------------------
> SAPO ADSL.PT Agora o kit apenas por 75 Eur. e tráfego ilimitado até ao final de 2002!
> Mais informações em http://www.sapo.pt/kitadsl
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list