Bugzilla – Bug 15174
Excessive memory usage in as.dendrogram (+ fix)
Last modified: 2013-04-18 12:34:13 UTC
I was alerted by users of the "fastcluster" package that the "as.dendrogram" method in the "stats" package takes very long for larger input data. Upon source code inspection, I saw that "as.dendrogram" unnecessarily consumes too much memory (quadratic in the number of data points instead of linear). Attached is a fix that is minimally disruptive for the existing source code.
Created attachment 1405 [details]
Patched file "dendrogram.R"
thank you; I will take this up .. Martin
Now fixed, in both "3.0.0 patched" and "R devel"