In ?heatmap (of stats) of R v2.5.1 under the Note section is reads: "Unless Rowv = NA (or Colw = NA), the original rows and columns are reordered..." Typo: 'Colw' should be 'Colv'. /Henrik