[R] high memory allocation

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 11 08:21:53 CEST 2003


On Sun, 10 Aug 2003, Andrew C. Ward wrote:

> You may prefer to try clara() which uses less memory than
> the other cluster routines (and stands for "clustering 
> large applications"). The documentation for clara() says
> that all variables must be numeric, which could be a
> problem if you have nominal or ordinal variables.

Clara is a partitioning method, not a hierarchical method of clustering
like agnes and diana.  To use clara you have to know how many clusters you 
want (and also want the sort of clusters it generates, spherical ones, 
like kmeans).

> Quoting gowuban <gowuban at web.de>:
> 
> > I have trouble with my cluster analysis using package
> > "cluster". "diana" and "agnes" both seem to try to
> > allocate memory directly, so I can not use virtual memory
> > of my Windows2000 operation system.
> > I do have 320 MB of memory. But they claim about 600 MB.
> > Do I have a chance to do the analysis with my amount of
> > memory. 

-- 
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