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"