[R] hclust error
Liaw, Andy
andy_liaw at merck.com
Mon Jul 19 17:14:21 CEST 2004
This has been asked on R-help several times in the past.
The `dist' object for the data of that size would be:
> 32513*32512/2
[1] 528531328
To store a vector of that size in double precision (8 bytes), you'd need:
> 32513*32512/2*8/1024^2
[1] 4032.374
I.e., that's nearly 4 GB. Is your computer capable of doing that?
Andy
> From: Herman, David (NIH/NIMH)
>
> Hello,
> I'm trying to do a cluster analysis on a large
> data set. I
> tried it out with a smaller one first, but I got this error:
>
> > hc<-hclust(dist(x),"ave")
> Error: cannot allocate vector of size 4129151 Kb
>
> The data sample used (i.e. "x") is a numerical data set of
> size 32513 by 31
>
> Does anyone know how I can do this analysis? Is R capable of
> this data
> size?
> Ultimately I wanna do an analysis on a dataset of size 32513 by 220
>
>
> Thanks!
>
> dave
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list