Displaying 1 result from an estimated 1 matches for "hclustsingl".
Did you mean:
hclustsingle
2001 Nov 29
0
memory: as.single in .Fortran creates another double
...t I'll manage to do the full set.
One thing that occurred to me was to modify the underlying fortran code
(hclust.f, from library mva) to use single precision rather than double
precision. I changed "DOUBLE PRECISION" to "REAL" in the fortran code and
saved the function as hclustsingle.f. It created a .so file without
problem. The hope is, of course, that I'll use half as much memory.
When I call hclustsingle, though, I get the same error as before (with the
same amounts of memory), and the traceback says:
11: structure(.Internal(as.vector(x, "double")), Csingl...